libzypp
10.5.0
|
Convenient building of std::string via std::ostream::operator<<. More...
#include <String.h>
Public Member Functions | |
template<class _Tp > | |
Str & | operator<< (const _Tp &val) |
operator std::string () const | |
Public Attributes | |
std::ostringstream | _str |
Convenient building of std::string via std::ostream::operator<<.
Basically this is an ostringstream which is autocenvertible into a string.
void fnc( const std::string & txt_r ); fnc( str::Str() << "Hello " << 13 ); std::string txt( str::Str() << 45 );
Str& zypp::str::Str::operator<< | ( | const _Tp & | val | ) | [inline] |
std::ostringstream zypp::str::Str::_str |