<div class="t-tr-text">Concepts C + +:<div class="t-tr-dropdown"><div><div><div class="t-tr-dropdown-arrow-border"></div><div class="t-tr-dropdown-arrow"></div><div class="t-tr-dropdown-h">Original:</div><div class="t-tr-dropdown-orig">C++ concepts:</div><div class="t-tr-dropdown-notes">The text has been machine-translated via [http://translate.google.com Google Translate].<br/> You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.</div></div></div></div></div> UnformattedInputFunction
De cppreference.com
<metanoindex/>
Exigences
Un UnformattedInputFunction est une fonction d'entrée ruisseau qui effectue les opérations suivantes:
Original:
An UnformattedInputFunction is a stream input function that performs the following:
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Construit un objet de type à
basic_istream::sentrydurée de stockage automatique et avec l'argument défini sur
noskipwstrue, qui effectue les opérations suivantesOriginal:
Constructs an object of type
basic_istream::sentrywith automatic storage duration and with the
noskipwsargument set totrue, which performs the followingThe text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
si
eofbitou
badbitsont fixés sur le flux d'entrée, définit le
ios_base::failurefailbitainsi, et si les exceptions sur failbit sont activés dans le masque exception de ce flux d'entrée, jette.
Original:
if
eofbitor
badbitare set on the input stream, sets the
ios_base::failurefailbitas well, and if exceptions on failbit are enabled in this input stream's exception mask, throws.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.Bouffées de la cravate () "flux de sortie d, le cas échéant
Original:
flushes the tie()'d output stream, if applicable
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Vérifie l'état de la sentinelle en appelant
basic_ios::goodsentry::operator bool(), ce qui équivaut à.
Original:
Checks the status of the sentry by calling
basic_ios::goodsentry::operator bool(), which is equivalent to.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.Si la sentinelle retourné
falseou le constructeur sentinelle a généré une exception:Original:
If the sentry returned
falseor sentry's constructor threw an exception:The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
détermine le nombre de caractères extraits (gcount) dans le courant d'entrée à zéro
Original:
sets the number of extracted characters (gcount) in the input stream to zero
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.si la fonction a été appelée à écrire sur un tableau de
CharT, écritCharT()(le caractère nul) vers le premier emplacement de la matriceOriginal:
if the function was called to write to an array of
CharT, writesCharT()(the null character) to the first location of the arrayThe text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Si la sentinelle retourné
true, effectue l'entréeOriginal:
If the sentry returned
true, performs the inputThe text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
si une exception est levée lors de la saisie, fixe
badbitdans le flux d'entrée. Si des exceptions sur BadBit sont activés dans le masque exception de ce ruisseau, l'exception est également relancée .Original:
if an exception is thrown during input, sets
badbitin the input stream. If exceptions on badbit are enabled in this stream's exception mask, the exception is also rethrown.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.Si aucune exception a été levée lors de la saisie, définit le nombre de caractères extraits (gcount) dans le flux d'entrée .
Original:
If no exception was thrown during input, sets the number of extracted characters (gcount) in the input stream.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
En tout état de cause, que ce soit se terminant par exception ou de renvoyer, le destructeur de la sentinelle est appelé avant de quitter cette fonction .
Original:
In any event, whether terminating by exception or returning, the sentry's destructor is called before leaving this function.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Bibliothèque standard
Les fonctions suivantes de la bibliothèque standard sont UnformattedInputFunctions .
Original:
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
std::getline, sauf qu'il ne modifie pas gcount .
Original:
std::getline, except that it does not modify gcount.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.- basic_istream::operator>>(basic_streambuf*)
- basic_istream::get
- basic_istream::getline
- basic_istream::ignore
- basic_istream::peek
- basic_istream::read
- basic_istream::readsome
- basic_istream::putback
, sauf qu'il se dégage d'abord
eofbitOriginal:
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - basic_istream::unget
, sauf qu'il se dégage d'abord
eofbitOriginal:
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - basic_istream::sync
, sauf qu'il ne modifie pas gcount
Original:
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - basic_istream::tellg
, sauf qu'il ne modifie pas gcount
Original:
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - basic_istream::seekg
, sauf qu'il se dégage d'abord
eofbitet ne modifie pas gcountOriginal:
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. std::ws, sauf qu'il ne modifie pas gcount
Original:
std::ws, except that it does not modify gcount
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.