Namespaces
Variants
Views
Actions

Difference between revisions of "cpp/io/basic stringbuf"

From cppreference.com
< cpp‎ | io
m (Text replace - "{{tdcl list begin}} {{tdcl list h1 | Member types}}" to "===Member types=== {{tdcl list begin}}")
(formatting)
Line 11: Line 11:
 
Two specializations for common character types are also defined:
 
Two specializations for common character types are also defined:
  
<code>
+
{{tdcl list begin}}
typedef basic_stringbuf<char> stringbuf;
+
{{tdcl list header | streambuf}}
typedef basic_stringbuf<wchar_t> wstringbuf;
+
{{tdcl list hitem | Type | Definition}}
</code>
+
{{tdcl list item | {{tt|stringbuf}} | {{cpp|basic_stringbuf<char>}}}}
 +
{{tdcl list item | {{tt|wstringbuf}} | {{cpp|basic_stringbuf<wchar_t>}}}}
 +
{{tdcl list end}}
  
 
{{todo}}
 
{{todo}}

Revision as of 09:53, 21 August 2011

Template:cpp/io/basic stringbuf/sidebar

Defined in header <sstream>
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:

Template:tdcl list begin Template:tdcl list header Template:tdcl list hitem Template:tdcl list item Template:tdcl list item Template:tdcl list end

Member types

Template:tdcl list begin Template:tdcl list hitem Template:tdcl list template Template:tdcl list template Template:tdcl list template Template:tdcl list template Template:tdcl list template Template:tdcl list template Template:tdcl list end

Member functions

See also

io/basic_streambuf, io/basic_filebuf