std::filesystem::directory_entry::operator=
From cppreference.com
 
 
 < cpp | filesystem | directory entry 
 
 
 C++ 
 Feature test macros (C++20)
 Concepts library (C++20)
 Metaprogramming library (C++11)
 Ranges library (C++20)
 Filesystem library (C++17)
 Concurrency support library (C++11)
 Execution control library (C++26)
std::filesystem::directory_entry 
 
 
 Member functions
 Modifiers
directory_entry::operator=
 Observers
(until C++20)(until C++20)(until C++20)(until C++20)(until C++20)(C++20)
 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.
Contents
[edit] Parameters
 other
 -
 other 
directory_entry
[edit] Return value
*this
[edit] Example
 This section is incomplete
Reason: no example
Reason: no example