Namespaces
Variants
Views
Actions

std::filesystem::file_status::operator=

From cppreference.com
< cpp‎ | filesystem‎ | file status
Revision as of 06:03, 7 December 2021 by Ljestrada (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
 
 
 
std::filesystem::file_status
Member functions
file_status::operator=
Non-member functions
(C++20)
 
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.

[edit] Parameters

other - another file_status object to assign

[edit] Return value

*this

[edit] Example