std::filesy...erator::pop(3)
π std::filesy...erator::pop(3) β C++ Standard Libary π
β¨ NAME β¨
std::filesystem::recursive_directory_iterator::pop β okay bestie, this is the function, and the NAME field is literally the same name twice: std::filesystem::recursive_directory_iterator::pop - std::filesystem::recursive_directory_iterator::pop. We are in the C++ Standard Libary manual, and yes, that spelling is exactly what the page says. π«Ά
π Synopsis π
void pop(); (1) (since C++17)
void pop( std::error_code& ec ); (2) (since C++17)
Moves the iterator one level up in the directory hierarchy.
β οΈ Also: it invalidates all copies of the previous value of *this. Like, every copy, bestie. π
If the parent directory is outside directory hierarchy that is iterated on (i.e. depth() == 0), sets *this to an end directory iterator. π
π§Ύ Parameters π§Ύ
ecβ error code to store the error status to. πΈ
π Return value π
(none)β literally none. π
π₯ Exceptions π₯
Any overload not marked noexcept may throw std::bad_alloc if memory allocation fails. π
- Throws
std::filesystem::filesystem_erroron underlying OS API errors, constructed with the OS error code as the error code argument. - Sets a
std::error_code¶meter to the OS API error code if an OS API call fails, and executesec.clear()if no errors occur.
π Example π
This section is incomplete.
Reason: no example.
π·οΈ Category: π·οΈ
- Todo no example
okay that's the whole page, bestie β source: http://cppreference.com, version/date: 2024.06.10, and the footer page is std::filesy...erator::pop(3) π«Άπβ¨
π¦ where this page comes from
- nixpkgs unstable: stdman 2024.07.05
- opensuse-leap 16.0: stdman 2024.07.05-bp160.1.9 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms