std::basic_filebuf::underflow — cppreference.com
De cppreference.com
<metanoindex/>
<tbody> </tbody>
|
|
||
Se comporte comme le std::basic_streambuf::underflow classe de base, si ce n'est que de lire les données de la séquence de caractères correspondant (le fichier) dans la zone get, lit d'abord les octets du fichier dans un tampon temporaire (attribué aussi grand que nécessaire), puis utilise des std::codecvt::in la localisation imprégnée de convertir l'extérieur (typiquement, multi-octets) de la représentation de la forme interne qui est ensuite utilisée pour remplir la zone get. La conversion peut être ignorée si std::codecvt::always_noconv de la localisation du rendement true
Original:
Behaves like the base class std::basic_streambuf::underflow, except that to read the data from the associated character sequence (the file) into the get area, first reads the bytes from the file into a temporary buffer (allocated as large as necessary), then uses std::codecvt::in of the imbued locale to convert the external (typically, multibyte) representation to the internal form which is then used to populate the get area. The conversion may be skipped if the locale's std::codecvt::always_noconv returns true
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Paramètres
(Aucun)
Original:
(none)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Retourne la valeur
Traits::to_int_type(*gptr()) (le premier caractère de la séquence en cours) en cas de succès, ou Traits::eof() en cas d'échec .
Original:
Traits::to_int_type(*gptr()) (the first character of the pending sequence) in case of success, or Traits::eof() in case of failure.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Exemple
Voir aussi
[ virtuel Original: virtual The text has been machine-translated via Google Translate. |
lit les caractères à partir de la séquence d'entrée associée à la zone d'obtention Original: reads characters from the associated input sequence to the get area The text has been machine-translated via Google Translate. (fonction membre virtuelle protégée de std::basic_streambuf) [edit]
|
[ virtuel Original: virtual The text has been machine-translated via Google Translate. |
lit le fichier associé et des avances Le pointeur dans la zone get Original: reads from the associated file and advances the next pointer in the get area The text has been machine-translated via Google Translate. (fonction membre virtuelle protégée) [edit] |
[ virtuel Original: virtual The text has been machine-translated via Google Translate. |
écrit des caractères dans le fichier associé à partir de la zone de mise Original: writes characters to the associated file from the put area The text has been machine-translated via Google Translate. (fonction membre virtuelle protégée) [edit] |