basic_path::operator= 运算符
分配新值存储为的文件名。
basic_path& operator=(
const basic_path& Right
);
basic_path& operator=(
basic_path&& Right
);
basic_path& operator=(
const string_type& Str
);
basic_path& operator=(
const value_type *Ptr
);
参数
Right
一个对 basic_path 对象的引用。 第二个方法采用。rvalue 引用Str
类型字符串和存储的文件名相同。Ptr
对字符数组的指针。 字符类型是存储的文件名的 value_type。
返回值
在存储的文件名后的*this 替换。
要求
标头: filesystem
命名空间: std::tr2::sys