std::filesystem::directory_entry::operator=

来自cppreference.com
 
 
 
 
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 的内容。

directory_entry 的复制与移动赋值运算符均为预置。

目录

[编辑] 参数

other - 另一个 directory_entry

[编辑] 返回值

*this

[编辑] 示例

[编辑] 参阅

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