C++ basic_streambuf Library - pbump



Description

It is used to increase put pointer and adds n to the put pointer.

Declaration

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

void pbump (int n);

Parameters

n − It is a value by which to increase the put 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