std::filesystem::directory_iterator::operator=

From cppreference.com
 
 
 
 
directory_iterator& operator++()


directory_iterator& increment( std::error_code& ec )
(since C++17)

Advances the iterator to the next entry.

Parameters

ec - error code to store error status to

Return value

*this

Exceptions

1)
2)
noexcept specification:  
noexcept