<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
|
|
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. |
<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.
You can help to correct and verify the translation. Click here for instructions.
- Construit un objet de type à basic_istream::sentry duré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::sentry with automatic storage duration and with thenoskipwsargument 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 eofbit ou badbit sont fixés sur le flux d'entrée, définit le
failbitainsi, et si les exceptions sur failbit sont activés dans le masque exception de ce flux d'entrée, jette ios_base::failure .Original:if eofbit or badbit are set on the input stream, sets thefailbitas well, and if exceptions on failbit are enabled in this input stream's exception mask, throws ios_base::failure.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éantOriginal:flushes the tie()'d output stream, if applicableThe 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
sentry::operator bool(), ce qui équivaut à basic_ios::good .Original:Checks the status of the sentry by callingsentry::operator bool(), which is equivalent to basic_ios::good.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 returnedfalseor 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éroOriginal:sets the number of extracted characters (gcount) in the input stream to zeroThe 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 ofCharT, 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 returnedtrue, 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, setsbadbitin 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 following standard library functions are
UnformattedInputFunctions.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.
- 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:basic_istream::putback, except that it first clearseofbitThe 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:basic_istream::unget, except that it first clearseofbitThe 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 gcountOriginal:basic_istream::sync, except that it does not modify gcountThe 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 gcountOriginal:basic_istream::tellg, except that it does not modify gcountThe 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:basic_istream::seekg, except that it first clearseofbitand does not modify gcountThe 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 gcountOriginal:std::ws, except that it does not modify gcountThe text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.