Source: tests/utility/stream2string.cpp
12 #include <tests/myratest.h> 16 ADD_TEST(
"stream2string",
"[utility]")
22 myra::out() << v << std::endl;
Definition: stlprint.h:32
Routines for printing the contents of various std::container's to a std::ostream using operator <<...
std::string stream2string(const T &t)
Uses a std::stringstream to serialize a T into a std::string, note T must have a "std::ostream << t" ...
Definition: stlprint.h:158
Results: [PASS]
[ 6 2 5 ] (3)
[ 6 2 5 ] (3)
Go back to Summary of /test programs.