Wrap a string as a pretty printing box. More...
#include <box.hh>
Public Member Functions | |
string_box (const std::string &s) | |
untyped_constructor | |
string_box (const string_box &other) | |
Copy constructor. | |
operator std::string () const | |
String accessor. | |
string_box & | operator= (string_box other) |
Assignement. | |
void | swap (string_box &other) |
Exception-free swap. | |
virtual unsigned | to_text (std::ostream &s, unsigned pos) const |
Prints out the string. |
Wrap a string as a pretty printing box.