◐ Shell
clean mode source ↗

C + + Konzepte: UnformattedInputFunction – cppreference.com

Aus cppreference.com

<metanoindex/>

Anforderungen

Ein UnformattedInputFunction ist ein Strom-Eingang Funktion, die die folgenden führt:

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.

  • Erzeugt ein Objekt vom Typ

    basic_istream::sentry

    mit automatischer Lagerdauer und mit dem noskipws Argument auf true, die folgende ausführt

    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.

  • wenn

    eofbit

    oder

    badbit

    auf der Input-Stream gesetzt, setzt die failbit als gut, und wenn Ausnahmen failbit in diesem Eingabestrom die Ausnahme Maske aktiviert, wirft

    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.

  • spült die tie () 'd Ausgabe-Stream, falls zutreffend

    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.

  • Prüft den Status der Wache durch den Aufruf sentry::operator bool(), das entspricht

    basic_ios::good

    ist .

    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.

  • Wenn die Wache wieder false oder sentry Konstruktor hat eine Ausnahme:

    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.

  • setzt die Anzahl von extrahierten Zeichen (gcount) in dem Eingangsstrom Null ist

    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.

  • wenn die Funktion aufgerufen wurde, um zu einer Anordnung von CharT einzutragen, schreibt CharT() (der Null-Zeichen) zu der ersten Stelle des Arrays

    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.

  • Wenn die Wache true zurückgekehrt, führt der Eingang

    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.

  • wenn eine Ausnahme während der Eingabe ausgelöst wird, setzt badbit im Eingabestrom. Wenn Ausnahmen badbit in diesem Strom der Ausnahmeliste Maske aktiviert ist, wird die Ausnahme auch erneut ausgelöst .

    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.

  • Wenn keine Ausnahme während der Eingabe geworfen wurde, legt die Anzahl der extrahierten Zeichen (gcount) in der Input-Stream .

    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.

  • In jedem Fall, ob Abschlusswiderstand by Exception oder Rückgabe wird der Wache destructor bevor diese Funktion aufgerufen .

    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.

Standard-Bibliothek

Die folgenden Standard-Bibliothek Funktionen sind UnformattedInputFunctions .

Original:

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.