std::basic_streambuf::uflow
来自cppreference.com
< cpp | io | basic streambuf
|
|
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. |
| int_type uflow(); |
||
确保一个的至少一个的字符是可在输入区中的更新的指针的输入区(如果需要的话)。在成功返回的值,该字符和进步的“一个字符的指针”。失败返回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.
该函数可能更新
gptr,egptr和eback定义新加载的数据(如有的话)的位置的指针。发生故障时,该功能可确保无论是gptr() == nullptr或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.
的函数调用基类版本
underflow。派生类可以重载这个函数来取回区耗尽的情况下,允许更新.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.
目录 |
[编辑] 参数
(无)
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.
[编辑] 返回值
“的性格,”指针所指向的值,然后才由一个先进的,或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.
的基类版本的函数返回值返回
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.
[编辑] 请注意
公共职能std::streambuf调用这个函数,只有当gptr() == nullptr或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.
[编辑] 为例
| 本节是不完整的 原因: no example |
[编辑] 另请参阅
| [虚拟的] </ SPAN></div></div>
|
相关的输入序列读取字符的get区 Original: reads characters from the associated input sequence to the get area The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (虚拟保护成员函数) |
| [虚拟的] </ SPAN></div></div>
|
相关的输出序列中写入字符认沽区域 Original: writes characters to the associated output sequence from the put area The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (虚拟保护成员函数) |