Espaços nominais
Variantes
Acções

<div class="t-tr-text">C + +: conceitos<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

Da cppreference.com
< cpp‎ | concept

 
 
C + + conceitos
Basic
Original:
Basic
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Biblioteca-Wide
Original:
Library-Wide
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Container
Original:
Container
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Elementos de contêineres
Original:
Container Elements
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Iterator
Original:
Iterator
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Números aleatórios
Original:
Random Numbers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Simultaneidade
Original:
Concurrency
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
(C++11)
(C++11)
(C++11)
Outro
Original:
Other
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
 

[editar] Requisitos

Uma UnformattedInputFunction é uma função de entrada de fluxo que executa o seguinte:
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.
  • Constrói um objeto de basic_istream::sentry tipo com duração de armazenamento automático e com o argumento noskipws definido para true, que executa a seguinte
    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.
  • se eofbit ou badbit são definidas no fluxo de entrada, define o failbit, bem como, e se exceções em failbit são habilitados na máscara este fluxo de entrada de exceção, joga 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.
  • libera o empate () 'd fluxo de saída, se for o caso
    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.
  • Verifica o estado da sentinela, chamando sentry::operator bool(), o que é equivalente a 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.
  • Se a sentinela voltou false ou construtor sentinela lançou uma exceção:
    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.
  • define o número de caracteres extraídos (gcount) no fluxo de entrada de zero
    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.
  • se a função foi chamado para escrever para uma matriz de CharT, escreve CharT() (o caractere nulo) para a primeira posição da matriz
    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.
  • Se a sentinela voltou true, realiza a entrada
    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.
  • se uma exceção é lançada durante a entrada, define badbit no fluxo de entrada. Se exceções em badbit são habilitados na máscara este fluxo de exceção, a exceção é relançada também.
    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.
  • Se nenhuma exceção foi lançada durante a entrada, define o número de caracteres extraídos (gcount) no fluxo de entrada.
    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.
  • Em qualquer caso, se extinguir por exceção ou retornando, destruidor da sentinela é chamado antes de deixar esta função.
    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.

[editar] Biblioteca padrão

As seguintes funções da biblioteca padrão são 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.