basic_streambuf::operator=

赋值其他 basic_streambuf 对象的此对象。

basic_streambuf& operator=(
    const basic_streambuf& _Right
);

参数

  • _Right
    对赋值到此对象的 basic_streambuf 对象的集合。左值引用。

属性值/返回值

返回 *this。

备注

从 _Right 的受保护成员复制运算符控制输入缓冲区和输出缓冲区的指针。 它还存储 _Rightlocale object中的getloc ()。. 它返回 *this。

要求

页眉: <streambuf>

命名空间: std

请参见

参考

basic_streambuf 类

<streambuf>

iostream 编程

iostreams 约定

其他资源

basic_streambuf 成员

streambuf 成员