std::filesystem::directory_entry::operator=
來自 cppreference.com
< 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 成員函式) |