[ Web Proxy ]
URL:
Viewing: http://ru.cppreference.com/cpp/io/basic_streambuf/uflow [Back]  [Original]

std::basic_streambuf::uflow cppreference.com
cppreference.com

std::basic_streambuf::uflow

cppreference.com

<metanoindex/>

 
C++
(C++20)
(C++20)
(C++11)
(C++20)
/
(C++11)
(C++11)
(C++11)
(C++17)
 
 
 
<tbody> </tbody>
int_type uflow();
, ( ). ' . traits::eof().
:
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().
Google.
. .
gptr, egptr eback ( ). , , gptr() == nullptr gptr() == egptr.
:
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.
Google.
. .
underflow. , Get .
:
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.
Google.
. .

()

, ' traits::eof() .
:
The value of the character that was pointed to by the get pointer before it was advanced by one, or traits::eof() otherwise.
Google.
. .
, underflow.
:
The base class version of the function returns the value returned by underflow.
Google.
. .

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

.

[virtual]
Get
:
reads characters from the associated input sequence to the get area
Google.
. .

(virtual protected -) []
[virtual]
:
writes characters to the associated output sequence from the put area
Google.
. .

(virtual protected -) []

Web Proxy Viewer  |  New URL  |  Original Page