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.

参数

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>).

返回值

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

数据竞争

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

异常安全

基本保证:如果抛出异常,对象处于有效状态。

另见