std::basic_filebuf
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 <fstream>
|
||
template< class charT, |
||
std::basic_filebuf
è un std::basic_streambuf cui associata sequenza di caratteri è un file. Sia la sequenza di ingresso e la sequenza di uscita sono associati con lo stesso file, ed una posizione di file di articolazione viene mantenuta per entrambe le operazioni.Original:
std::basic_filebuf
is a std::basic_streambuf whose associated character sequence is a file. Both the input sequence and the output sequence are associated with the same file, and a joint file position is maintained for both operations.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.
Il underflow funzioni () e troppo pieno () / sync () eseguire l'I / O tra il file e le aree get e put del buffer. Quando
CharT
non è char, maggior parte delle implementazioni di memorizzare i caratteri multibyte nel file e una sfaccettatura std::codecvt viene utilizzato per eseguire gamma / multibyte conversione dei caratteri.Original:
The functions underflow() and overflow()/sync() perform the actual I/O between the file and the get and put areas of the buffer. When
CharT
is not char, most implementations store multibyte characters in the file and a std::codecvt facet is used to perform wide/multibyte character conversion.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.
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
<streambuf> | |
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 |
filebuf
|
basic_filebuf<char> |
wfilebuf
|
basic_filebuf<wchar_t> |