basic_ostream::operator=

提供 basic_ostream 的赋值对象参数到该对象。

basic_ostream& operator=(
    basic_ostream&& _Right
);

参数

  • _Right
    basic_ostream 对象的 rvalue 引用。

属性值/返回值

返回 basic_ostream 对象引用。

备注

成员运算符调用 swap(_Right)。

要求

页眉: <ostream>

命名空间: std

请参见

参考

<ostream>

Lvalues 和 Rvalues

iostream 编程

iostreams 约定