std::basic_streambuf::uflow
De cppreference.com
<metanoindex/>
<tbody> </tbody> int_type uflow(); |
||
Garante que pelo menos um caracter está disponível na área de entrada, actualizando os ponteiros para a área de entrada (se necessário). Em caso de sucesso retorna o valor do caráter e avanços o valor da' ponteiro começar por um caractere. No retorno de falha
traits::eof(). Original:
Ensures that at least one character is available in the input area by updating the pointers to the input area (if needed). On success returns the value of that character and advances the value of the get pointer by one character. On failure returns
traits::eof(). 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.
A função pode atualizar
gptr, egptr e eback ponteiros para definir a localização dos dados recém-carregados (se houver). Em caso de falha, a função que assegura quer gptr() == nullptr ou gptr() == egptr.Original:
The function may update
gptr, egptr and eback pointers to define the location of newly loaded data (if any). On failure, the function ensures that either gptr() == nullptr or gptr() == egptr.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.
A versão da classe base da função chama
underflow. As classes derivadas podem substituir essa função para permitir atualizações para a área get no caso de exaustão.Original:
The base class version of the function calls
underflow. The derived classes may override this function to allow updates to the get area in the case of exhaustion.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.
Parâmetros
(Nenhum)
Original:
(none)
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.
Valor de retorno
O valor do personagem que foi apontado pelo ponteiro' começar antes de ter sido avançado por um, ou de outro modo
traits::eof().Original:
The value of the character that was pointed to by the get pointer before it was advanced by one, or
traits::eof() otherwise.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.
A versão classe base da função retorna o valor retornado pelo
underflow.Original:
The base class version of the function returns the value returned by
underflow.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.
Nota
As funções públicas de std::streambuf chamar esta função somente se
gptr() == nullptr ou gptr() >= egptr().Original:
The public functions of std::streambuf call this function only if
gptr() == nullptr or gptr() >= egptr().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.
Exemplo
| Esta seção está incompleta Motivo: sem exemplo |
