std::basic_streambuf::overflow
De cppreference.com
< cpp | io | basic streambuf
![]() |
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. |
int_type overflow( int_type ch = traits::eof() ); |
||
Assure que l'espace à la zone de mise au moins un caractère en enregistrant une certaine séquence initiale de caractères commençant au
pbase()
à la séquence de sortie et mise à jour des pointeurs de la zone de sortie (si nécessaire). Si ch
n'est pas traits::eof() (c.-à-traits::eq_int_type(c, traits::eof()) != true), il est soit mise à la zone de sortie ou directement enregistrées dans la séquence de sortie .Original:
Ensures that there space at the put area for at least one character by saving some initial subsequence of characters starting at
pbase()
to the output sequence and updating the pointers to the output area (if needed). If ch
is not traits::eof() (i.e. traits::eq_int_type(c, traits::eof()) != true), it is either put to the output area or directly saved to the output sequence.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.
La fonction peut mettre à jour
pptr
, epptr
et pback
pointeurs pour définir l'emplacement d'écrire plus de données. En cas d'échec, la fonction veille à ce que soit pptr() == nullptr ou pptr() == epptr .Original:
The function may update
pptr
, epptr
and pback
pointers to define the location to write more data. On failure, the function ensures that either pptr() == nullptr or pptr() == epptr.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.
La version classe de base de la fonction ne fait rien. Les classes dérivées peuvent substituer cette fonction pour permettre aux mises à jour de la zone get dans le cas de l'épuisement .
Original:
The base class version of the function does nothing. The derived classes may override this function to allow updates to the get area in the case of exhaustion.
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.
Sommaire |
[modifier] 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.
You can help to correct and verify the translation. Click here for instructions.
[modifier] Retourne la valeur
Retourne la valeur non spécifiée ne correspond pas à traits::eof() en cas de succès, en cas d'échec .. traits::eof()
Original:
Returns unspecified value not equal to traits::eof() on success, traits::eof() on failure.
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.
La version classe de base de la fonction retourne traits::eof() .
Original:
The base class version of the function returns traits::eof().
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.
[modifier] Note
Le
sputc()
et sputn()
appeler cette fonction en cas de débordement (pptr() == nullptr ou pptr() >= epptr()) .Original:
The
sputc()
and sputn()
call this function in case of an overflow (pptr() == nullptr or pptr() >= epptr()).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.
[modifier] Exemple
This section is incomplete Reason: no example |
[modifier] Voir aussi
[ virtuel ]Original: virtual The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
lit les caractères à partir de la séquence d'entrée associée à la zone get et avance le pointeur suivant Original: reads characters from the associated input sequence to the get area and advances the next pointer The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (fonction membre virtuelle protégée) |
[ virtuel ]Original: virtual The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
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. You can help to correct and verify the translation. Click here for instructions. (fonction membre virtuelle protégée) |
[ virtuel ]Original: virtual The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
é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. You can help to correct and verify the translation. Click here for instructions. (fonction membre virtuelle protégée de std::basic_filebuf )
|
[ virtuel ]Original: virtual The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
ajoute un caractère à la séquence de sortie Original: appends a character to the output sequence The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (fonction membre virtuelle protégée de std::basic_stringbuf )
|
[ virtuel ]Original: virtual The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
ajoute un caractère à la séquence de sortie, peut réaffecter ou initialement allouer le tampon s'ils sont congelés dynamique et non Original: appends a character to the output sequence, may reallocate or initially allocate the buffer if dynamic and not frozen The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (fonction membre virtuelle protégée de std::strstreambuf )
|