Convenient building of std::string with boost::format. Basically a boost::format autoconvertible to std::string for building string arguments.
More...
Convenient building of std::string with boost::format. Basically a boost::format autoconvertible to std::string for building string arguments.
- Note
- It won't complain about malformed or incomplete format strings. Usefull when dealing with translations or classes providing a default formater.
void fnc( const std::string & txt_r );
fnc( str::Format("Hello %1%") % 13 );
std::string txt( str::Format("Hello %1%") % 13 );
Definition at line 249 of file String.h.