Boost.Nowide
|
A class that allows to create a temporary wide or narrow UTF strings from wide or narrow UTF source. More...
#include <boost/nowide/stackstring.hpp>
Public Types | |
typedef CharOut | output_char |
typedef CharIn | input_char |
Public Member Functions | |
basic_stackstring (basic_stackstring const &other) | |
void | swap (basic_stackstring &other) |
basic_stackstring & | operator= (basic_stackstring const &other) |
bool | convert (input_char const *input) |
bool | convert (input_char const *begin, input_char const *end) |
output_char * | c_str () |
output_char const * | c_str () const |
void | clear () |
Static Public Attributes | |
static const size_t | buffer_size = BufferSize |
A class that allows to create a temporary wide or narrow UTF strings from wide or narrow UTF source.
It uses on stack buffer of the string is short enough and allocated a buffer on the heap if the size of the buffer is too small