W3cubDocs

/C++

std::filesystem::recursive_directory_iterator::pop

void pop();
(since C++17)

Moves the iterator one level up in the directory hierarchy.

If the parent directory is outside directory hierarchy that is iterated on (i.e. depth() == 0), sets *this to an end directory iterator.

Parameters

(none).

Return value

(none).

Exceptions

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