◐ Shell
clean mode source ↗

<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::sentry

    durée de stockage automatique et avec l'argument défini sur noskipws true, qui effectue les opérations suivantes

    Original:

    Constructs an object of type

    basic_istream::sentry

    with automatic storage duration and with the noskipws argument set to true, which 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.

  • si

    eofbit

    ou

    badbit

    sont fixés sur le flux d'entrée, définit le failbit ainsi, 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 the failbit as 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é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 sentry::operator bool(), ce qui équivaut à

    basic_ios::good

    .

    Original:

    Checks the status of the sentry by calling sentry::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é false ou le constructeur sentinelle a généré une exception:

    Original:

    If the sentry returned false or 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, écrit CharT() (le caractère nul) vers le premier emplacement de la matrice

    Original:

    if the function was called to write to an array of CharT, writes CharT() (the null character) to the first location of the array

    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é true, effectue l'entrée

    Original:

    If the sentry returned true, performs the input

    The 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 badbit dans 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 badbit in 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.