C++ basic_streambuf Library - egptr



Description

It is used in pointer to end of input sequence and returns a pointer to the element just past the last element of the array with the portion of the controlled input sequence that is currently buffered.

Declaration

Following is the declaration for std::basic_streambuf::egptr.

char_type* egptr() const;

Parameters

none

Return Value

It returns a pointer to the element just past the last element of the array with the portion of the controlled input sequence that is currently buffered.

Exceptions

Strong guarantee − if an exception is thrown, there are no changes in the stream buffer.

Data races

It accesses the stream buffer object.

streambuf.htm
Advertisements