basic_ofstream::operator=

分配此流内容对象。 决不将复制代码涉及 rvalue reference 的移动分配。

basic_ofstream& operator=(
    basic_ofstream&& _Right
);

参数

  • _Right
    rvalue 对 basic_ofstream 对象的引用。

返回值

返回 *this。

备注

使用 _Right内容,成员运算符替换对象的内容,将 rvalue 引用。

要求

页眉: <fstream>

命名空间: std

请参见

参考

basic_ofstream 类

<fstream>

Lvalues 和 Rvalues

iostream 编程

iostreams 约定

其他资源

basic_ofstream 成员

fstream 成员