W3cubDocs

/C++

std::filesystem::recursive_directory_iterator::operator=

recursive_directory_iterator& operator=( const recursive_directory_iterator& other ) = default;
(since C++17)
recursive_directory_iterator& operator=( recursive_directory_iterator&& other ) = default;
(since C++17)

Assigns a recursive directory iterator.

Parameters

other - another directory iterator to assign

Return value

*this.

Exceptions

(none).

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/filesystem/recursive_directory_iterator/operator=