std::basic_ostringstream
Aus cppreference.com
|
|
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
| definiert in Header <sstream>
|
||
template< class CharT, class Traits = std::char_traits<CharT> > class basic_ostringstream; |
(bis C + +11) | |
template< class CharT, class Traits = std::char_traits<CharT>, class Allocator = std::allocator<CharT> > class basic_ostringstream; |
(seit C++11) | |
Das Klassen-Template
basic_ostringstream implementiert Output-Operationen auf Speicher (std::basic_string) basierten Datenströme. Es besteht im wesentlichen umschließt einen rohen String Geräteimplementierung (basic_stringbuf) in einer übergeordneten Schnittstelle (basic_ostream). Die vollständige Schnittstelle zu einzigartigen basic_stringbuf Mitglieder vorgesehen ist .Original:
The class template
basic_ostringstream implements output operations on memory (std::basic_string) based streams. It essentially wraps a raw string device implementation (basic_stringbuf) into a higher-level interface (basic_ostream). The complete interface to unique basic_stringbuf members is provided.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Inheritance diagram
Zwei Spezialisierungen für gemeinsame Charakter-Typen sind ebenfalls definiert:
Original:
Two specializations for common character types are also defined:
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
definiert in Header
<sstream> | |
Type
Original: Type The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
Definition |
ostringstream
|
basic_ostringstream<char>
|
wostringstream
|
basic_ostringstream<wchar_t>
|