W3cubDocs

/C++

std::filesystem::directory_entry::operator=

directory_entry& operator=( const directory_entry& ) = default;
(1) (since C++17)
directory_entry& operator=( directory_entry&&) = default;
(2) (since C++17)

Assigns another directory entry.

Parameters

Return value

*this.

Exceptions

2)
noexcept specification:
noexcept

Example

See also

assigns contents
(public member function)

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/filesystem/directory_entry/operator=