|
tgen
|
Printer helper for standard types. More...
Printer helper for standard types.
Just call std::cout << print(x) to print x, or std::cout << println(x) to print x and \n. Works with std::initializer_list.
Prints std::pair, std::tuple and containers nicely (separade by a space). Matrices (container<container<T>>) are also handleled nicely, printing one row per line.