This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <chrono> | |
#include <sstream> | |
int main() | |
{ | |
std::cout << "\n\nReferencing string of sstream\n"; | |
{ | |
std::stringstream ss; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <iterator> | |
#include <string> | |
#include <numeric> | |
#include <vector> | |
#include <array> | |
#include <deque> | |
#include <forward_list> | |
#include <list> | |
#include <map> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <string> | |
#include <vector> | |
#include <unordered_set> | |
int main() | |
{ | |
std::unordered_set<std::string> us; | |
auto print = [&]() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <typeinfo> | |
namespace abc | |
{ | |
class Super1 | |
{ | |
public: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <string> | |
#include <vector> | |
#include <unordered_map> | |
int main() | |
{ | |
std::unordered_map<std::string, int> um; | |
auto print = [&]() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <string> | |
#include <vector> | |
#include <set> | |
int main() | |
{ | |
std::set<std::string> s; | |
auto print = [&]() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <string> | |
#include <vector> | |
#include <map> | |
int main() | |
{ | |
std::map<std::string, int> m; | |
auto print = [&]() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <forward_list> | |
int main() | |
{ | |
std::forward_list<int> l; | |
auto print = [&]() { | |
std::cout << "l.empty(): " << l.empty() << "\n"; | |
std::cout << "l.max_size(): " << l.max_size() << "\n"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <deque> | |
#include <list> | |
#include <vector> | |
#include <stack> | |
int main() | |
{ | |
std::deque<int> d = { 1, 2, 3 }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <list> | |
#include <deque> | |
#include <queue> | |
int main() | |
{ | |
std::deque<int> d = { 1, 2, 3 }; | |
std::list<int> l = { 4, 5 }; |
NewerOlder