C++ basic_streambuf Library - gbump


Advertisements

Description

It is used get pointer and the get pointer (gptr) is the internal pointer that points to the current location in the array with the buffered portion of the controlled input sequence.

Declaration

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

char_type* egptr() const;

Parameters

n − it is a value by which to increase the get pointer.

Return Value

none

Exceptions

Basic guarantee − if an exception is thrown, the stream buffer is in a valid state.

Data races

It modifies the stream buffer object.

streambuf.htm
Advertisements