std::filesystem::directory_entry::operator=
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
Пример
См. также
| присваивает содержимое (публичный член-функция) |
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/filesystem/directory_entry/operator%3D