GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
std::basic_streambuf::uflow(3) C++ Standard Libary std::basic_streambuf::uflow(3)

std::basic_streambuf::uflow - std::basic_streambuf::uflow


protected:
virtual 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 traits::eof().


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 base class version of the function calls underflow() and increments gptr().


(none)


The value of the character that was pointed to by the get pointer before it was
advanced by one, or traits::eof() otherwise.


The base class version of the function returns the value returned by underflow().


The public functions of std::streambuf call this function only if gptr() == nullptr
or gptr() >= egptr().


The custom streambuf classes that do not use the get area and do not set the get
area pointers in basic_streambuf are required to override this function.


This section is incomplete
Reason: no example


underflow reads characters from the associated input sequence to the get area
[virtual] (virtual protected member function)
overflow writes characters to the associated output sequence from the put area
[virtual] (virtual protected member function)

2022.07.31 http://cppreference.com

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.