protected virtual member function
<sstream>
Get character
Returns the character at the current
get position, if one is available, otherwise it returns
EOF (or
traits::eof for other traits).
This member function overrides the virtual member
streambuf::underflow, which is called by other member functions of
streambuf when a new character is to be read at the
get pointer position
gptr but it has reached the
end pointer egptr.
Parameters
none
Return Value
The character available at the
get position, unless the
get pointer is past the end of the character sequence, in which case it returns
EOF (or
traits::eof for other traits).
Basic template member declaration
( basic_stringbuf<charT,traits,Allocator> )
1 2
|
typedef traits::int_type int_type;
int_type underflow ( );
|
See also
- streambuf::underflow
- Get character in the case of underflow (protected virtual member function)