std::basic_stringstream
Da cppreference.com.
|
|
Questa pagina è stata tradotta in modo automatico dalla versione in ineglese della wiki usando Google Translate.
La traduzione potrebbe contenere errori e termini strani. Muovi il puntatore sopra al testo per vedere la versione originale. Puoi aiutarci a correggere gli gli errori. Per ulteriori istruzioni clicca qui. |
| Elemento definito nell'header <sstream>
|
||
template< class CharT, class Traits = std::char_traits<CharT> > class basic_stringstream; |
(fino al c++11) | |
template< class CharT, class Traits = std::char_traits<CharT>, class Allocator = std::allocator<CharT> > class basic_stringstream; |
(dal C++11) | |
Il modello di classe implementa
basic_stringstream di input / output in memoria (std::basic_string) a base di flussi. Si avvolge essenzialmente una prima implementazione dei dispositivi string (basic_stringbuf) in un più alto livello di interfaccia (basic_iostream). L'interfaccia completa ai membri basic_stringbuf unici è previsto.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
Due specializzazioni per i tipi di caratteri comuni sono anche definiti:
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.
Definizione nell'header
<sstream> | |
Tipo
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>
|
Membri tipi
Membro tipo
Original: Member type The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
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 (dal C++11)
|
Membri funzioni
costruisce il flusso di stringa Original: constructs the string stream The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (metodo pubblico) | |
(C++11) |
si muove il flusso di stringa Original: moves the string stream The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (metodo pubblico) |