std::basic_stringstream
De 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. |
| Déclaré dans l'en-tête <sstream>
|
||
template< class CharT, class Traits = std::char_traits<CharT> > class basic_stringstream; |
(avant C++11) | |
template< class CharT, class Traits = std::char_traits<CharT>, class Allocator = std::allocator<CharT> > class basic_stringstream; |
(depuis C++11) | |
Le modèle
basic_stringstream classe implémente entrées / sorties sur la mémoire (std::basic_string) flux basés. Elle enveloppe essentiellement une mise en œuvre chaîne brute dispositif (basic_stringbuf) dans une interface de plus haut niveau (basic_iostream). L'interface complète pour les membres basic_stringbuf uniques est fourni .Original:
The class template
basic_stringstream implements input/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_iostream). 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
Deux spécialisations pour les types de caractères communs sont également définis:
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.
Defined in header
<sstream> | |
Type d'
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 |
stringstream
|
basic_stringstream<char>
|
wstringstream
|
basic_stringstream<wchar_t>
|