#include <str.h>
Public Member Functions | |
operator std::string () const | |
template<class T > | |
stream & | operator<< (const T &v) |
Public Attributes | |
mongo::StringBuilder | ss |
the idea here is to make one liners easy. e.g.:
return str::stream() << 1 << ' ' << 2;
since the following doesn't work:
(stringstream() << 1).str();
Definition at line 48 of file str.h.
mongoutils::str::stream::operator std::string | ( | ) | const [inline] |
stream& mongoutils::str::stream::operator<< | ( | const T & | v | ) | [inline] |