std::filesystem::file_status::operator=

file_status& operator=( const file_status& other ) noexcept = default;
(1) (since C++17)
file_status& operator=( file_status&& other ) noexcept = default;
(2) (since C++17)

Copy- or move-assigns another file status object.

Parameters

other - another file_status object to assign

Return value

*this.

Example

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