std::basic_streambuf<CharT,Traits>::uflow
Template:cpp/io/basic streambuf/sidebar
int_type uflow(); |
||
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 Template:cpp.
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 Template:cpp or Template:cpp.
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.
Contents |
Parameters
(none)
Return value
The value of the character pointed to by the get pointer after the call on success, or Template:cpp otherwise.
The base class version of the function returns the value returned by underflow
.
Note
The public functions of Template:cpp call this function only if Template:cpp or Template:cpp.