std::basic_filebuf::uflow

std::basic_filebuf::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)
[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

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部