Namespaces
Variants
Views
Actions

std::basic_stringbuf

From cppreference.com
< cpp‎ | io
Revision as of 16:34, 6 May 2011 by WikiSysop (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Template:cpp/io/basic stringbuf/sidebar

  1. 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;

/todo

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) |

Member functions

/todo

See also

io/basic_streambuf, io/basic_filebuf