std::filesystem::directory_entry::operator=
来自 cppreference.cn
< cpp | filesystem | directory_entry
| 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 的复制赋值运算符和移动赋值运算符均为默认。
目录 |
[编辑] 参数
| 其他 | - | other directory_entry |
[编辑] 返回值
*this
[编辑] 示例
| 本节不完整 原因:无示例 |
[编辑] 参阅
| 赋值内容 (public 成员函数) |