From Cppreference
|
|
|
|
|
template<
class charT,
class Traits = std::char_traits<CharT>,
class Allocator = std::allocator<CharT>
> class basic_stringbuf; //inherits basic_streambuf<charT, Traits, Allocator>
|
|
|
|
|
Two specializations for common character types are also defined:
Defined in header <streambuf>
|
|
Type
|
Definition
|
|
stringbuf
|
basic_stringbuf<char>
|
|
wstringbuf
|
basic_stringbuf<wchar_t>
|
[edit] 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++11 feature)
|
[edit] Member functions
[edit] See also
io/basic_streambuf, io/basic_filebuf