Namespaces
Variants
Actions

std::filesystem::directory_entry::operator=

From cppreference.com
 
 
Filesystem library
 
std::filesystem::directory_entry
Member functions
Modifiers
directory_entry::operator=
Observers
Non-member functions
 
directory_entry& operator=( const directory_entry& other ) = default;
(1) (since C++17)
directory_entry& operator=( directory_entry&& other ) noexcept = default;
(2) (since C++17)

Replaces the contents of the directory entry (path and cached attributes, if any) with the contents of other.

Both copy- and move-assignment operators for directory_entry are defaulted.

[edit] Parameters

other - other directory_entry

[edit] Return value

*this

[edit] Example

This section is incomplete
Reason: no example

[edit] See also

assigns contents
(public member function) [edit]
Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/filesystem/directory_entry/operator%3D&oldid=132737"

AltStyle によって変換されたページ (->オリジナル) /