W3cubDocs

/C++

std::basic_filebuf<CharT,Traits>::uflow

protected:
virtual int_type uflow()

Behaves like the underflow(), except that if underflow() succeeds (does not return Traits::eof()), then advances the next pointer for the get area. In other words, consumes one of the characters obtained by underflow().

Parameters

(none).

Return value

The value of the character that was read and consumed in case of success, or Traits::eof() in case of failure.

Example

See also

[virtual]
reads characters from the associated input sequence to the get area and advances the next pointer
(virtual protected member function of std::basic_streambuf<CharT,Traits>)
[virtual]
reads from the associated file
(virtual protected member function)
[virtual]
writes characters to the associated file from the put area
(virtual protected member function)

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/io/basic_filebuf/uflow