std::basic_stringbuf
From cppreference.com
Template:cpp/io/basic stringbuf/sidebar
- include <sstream>
template<
class charT, class Traits = char_traits<charT>, class Allocator = allocator<charT>
> class basic_stringbuf; //inherits basic_streambuf<charT, Traits, Allocator>
Two specializations for common character types are also defined:
typedef basic_stringbuf<char> stringbuf;
typedef basic_stringbuf<wchar_t> wstringbuf;
Member types
^ Member type ^ Definition ^ | char_type | charT | | traits_type | Traits | | int_type | Traits::int_type | | pos_type | Traits::pos_type | | off_type | Traits::off_type | | allocator_type | Allocator (/C++0x feature) |