命名空间
变体
操作

std::filesystem::directory_entry::operator=

来自 cppreference.cn
 
 
 
 
directory_entry& operator=( const directory_entry& other ) = default;
(1) (自 C++17 起)
directory_entry& operator=( directory_entry&& other ) noexcept = default;
(2) (自 C++17 起)

将目录项(路径和缓存属性,如果有)的内容替换为 other 的内容。

directory_entry 的复制和移动赋值运算符均为默认。

内容

[edit] 参数

other - other directory_entry

[edit] 返回值

*this

[edit] 示例

[edit] 参见

赋值内容
(公开成员函数) [编辑]