std::filesystem::directory_entry::operator=
From 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 member function) |