C++ basic_streambuf Library - pbase



Description

It is used in pointer to beginning of output sequence and returns a pointer to the first element of the array with the portion of the controlled output sequence that is currently buffered.

Declaration

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

char_type* pbase() const;

Parameters

none

Return Value

It returns a pointer to the beginning of an array with the part of the controlled output 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