Printer helper for standard types.
Just call std::cout << tgen::print(x) to print x, or std::cout << tgen::println(x) to print x and \n. Works with std::initializer_list.
Prints stdpair, std::tuple and containers nicely (separated by a space). Matrices (container<container<T>>) are also handled nicely, printing one row per line.
Examples
std::tuple<int, double, std::string> tu = {5, 0.1, "str"};
std::cout <<
tgen::print({{1, 2}, {3, 4}},
',') << std::endl;
Printer helper for standard types.
Definition at line 485 of file tgen.h.