public member function
<locale>

std::wbuffer_convert::rdbuf

get (1)
streambuf* rdbuf() const;
set (2)
streambuf* rdbuf (streambuf* bytebuf);
Get/set underlying byte stream buffer
The first form (1) returns a pointer to the underlying byte stream buffer object currently used by the object.

The second form (2) also sets the object pointed by bytebuf as the new underlying byte stream buffer used by the object.

Parameters

bytebuf
Pointer to a streambuf object (or to an object of a derived type).
streambuf is a standard instantiation of template basic_streambuf for elements of type char (defined in header <streambuf>).

Return Value

A pointer to the underlying byte stream buffer object used by the object before the call.

Data races

Accesses (1) or modifies (2) the object.

Exception safety

Basic guarantee: if an exception is thrown, the object is in a valid state.

See also