Namespaces
Variants

std::filesystem::directory_entry:: operator=

From cppreference.net
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

返回值

* this

示例

参见

分配内容
(公开成员函数)