名前空間
変種
操作

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 のコピー代入演算子とムーブ代入演算子はどちらもデフォルト化されています。

目次

[編集] 引数

other - 代入する directory_entry

[編集] 戻り値

*this

[編集]

[編集] 関連項目

内容を代入します
(パブリックメンバ関数) [edit]