From my “Printing Standard Library Sequence and Associative Containers in C++ 2011” post, let’s discuss how to print the Container…
Read more
From my “Printing Standard Library Sequence and Associative Containers in C++ 2011” post, let’s discuss the second template: template < template < typename, typename, typename … > class C, typename T1, typename T2, typename … T_PACK > inline std::ostream & operator << ( std::ostream & o, C< T1, T2, T_PACK … > const & c ) {…
Read more
From my “Printing Standard Library Sequence and Associative Containers in C++ 2011” post, let’s discuss the very first template: template < typename C >…
Read more
In my last post, I wrote about printing Standard Library Sequence Containers (i.e. std::deque, std::list, and std::vector) in C++ 1998/2003…
Read more
In C++ 1998/2003, the Standard Library Sequence Containers (i.e. deque, list, and vector) could be printed using the following template:…
Read more