Namespaces
Variants

std::filesystem::file_status:: operator=

From cppreference.net
file_status & operator = ( const file_status & other ) noexcept = default ;
(1) (seit C++17)
file_status & operator = ( file_status && other ) noexcept = default ;
(2) (seit C++17)

Weist ein anderes Dateistatusobjekt per Kopie oder Verschiebung zu.

Parameter

other - ein weiteres file_status-Objekt zur Zuweisung

Rückgabewert

* this

Beispiel