Namespaces
Variants
Actions

std::filesystem::recursive_directory_iterator::recursion_pending

From cppreference.com
 
C++
 
Filesystem library
Classes
Functions
File types
 
std::filesystem::recursive_directory_iterator
bool recursion_pending() const;
(since C++17)

Returns true if the next increment will cause the directory currently referred to by *this to be iterated into.

This function returns true immediately after construction or an increment. Recursion can be disabled via disable_recursion_pending().

Contents

[edit] Parameters

(none)

[edit] Return value

true if the next increment will iterate into the currently referred directory, false otherwise.

[edit] Exceptions

Throws nothing.

[edit] Example

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant