All Regions
Argentina
Australia
Austria
Belgium (fr)
Belgium (nl)
Brazil
Bulgaria
Canada (en)
Canada (fr)
Catalonia
Chile
China
Colombia
Croatia
Czech Republic
Denmark
Estonia
Finland
France
Germany
Greece
Hong Kong
Hungary
Iceland
India (en)
Indonesia (en)
Ireland
Israel (en)
Italy
Japan
Korea
Latvia
Lithuania
Malaysia (en)
Mexico
Netherlands
New Zealand
Norway
Pakistan (en)
Peru
Philippines (en)
Poland
Portugal
Romania
Russia
Saudi Arabia
Singapore
Slovakia
Slovenia
South Africa
Spain (ca)
Spain (es)
Sweden
Switzerland (de)
Switzerland (fr)
Taiwan
Thailand (en)
Turkey
US (English)
US (Spanish)
Ukraine
United Kingdom
Vietnam (en)
Any Time
Past Day
Past Week
Past Month
Past Year
std::filesystem::recursive_directory_iterator::operator++, std ...
en.cppreference.com/w/cpp/filesystem/recursive_directory_iterator/increment
2023-09-08T00:00:00.0000000
Advances the iterator to the next entry. Invalidates all copies of the previous value of * this.. If there are no more entries left in the currently iterated
directory
, the iteration is resumed over the parent
directory
.
std::filesystem::recursive_directory_iterator - cppreference.com
en.cppreference.com/w/cpp/filesystem/recursive_directory_iterator.html
2024-10-30T00:00:00.0000000
These specializations for recursive_directory_iterator make it a borrowed_range and a view. [] NoteA recursive_directory_iterator typically holds a reference-counted pointer (to satisfy shallow-copy semantics of LegacyInputIterator) to an implementation object, which holds: . a container (such as std::vector) of non-recursive directory_iterators that forms the recursion stack,
std::filesystem::directory_iterator:: directory_iterator
en.cppreference.com/w/cpp/filesystem/directory_iterator/directory_iterator.html
2023-09-07T00:00:00.0000000
< cpp | filesystem |
directory
iterator ... filesystem::recursive_directory_iterator ... Constructs a
directory
iterator that refers to the first
directory
entry of a
directory
identified by p. If p refers to a non-existing file or not a
directory
, returns the end iterator and sets ec. 5) ...
std::filesystem::directory_iterator::operator++, std::filesystem ...
en.cppreference.com/w/cpp/filesystem/directory_iterator/increment
2023-09-06T00:00:00.0000000
Advances the iterator to the next entry. Invalidates all copies of the previous value of * this.
std::filesystem::recursive_directory_iterator::disable_recursion ...
en.cppreference.com/w/cpp/filesystem/recursive_directory_iterator/disable_recursion_pending
2023-09-08T00:00:00.0000000
Disables recursion to the currently referred subdirectory, if any. The call modifies the pending recursion flag on the iterator in such a way that the next time increment is called, the iterator will advance within the current
directory
even if it is currently referring to a subdirectory that hasn't been visited.. The status of the pending recursion flag can be queried with recursion_pending ...
std::filesystem::directory_iterator - cppreference.com
www.en.cppreference.com/w/cpp/filesystem/directory_iterator.html
These specializations for directory_iterator make it a borrowed_range and a view. [] NoteMany low-level OS APIs for
directory
traversal retrieve file attributes along with the next
directory
entry. The constructors and the non-const member functions of std::filesystem::directory_iterator store these attributes, if any, in the pointed-to std::filesystem::directory_entry without calling ...
Standard library header <filesystem> (C++17) - cppreference.com
en.cppreference.com/w/cpp/header/filesystem
2023-11-27T00:00:00.0000000
#include <compare> namespace std:: filesystem {// paths class path; // path non-member functions void swap (path & lhs, path & rhs) noexcept; size_t hash_value (const path & p) noexcept; // filesystem errors class filesystem_error; //
directory
entries class directory_entry; //
directory
iterators class directory_iterator; // range access for ...
std::filesystem::recursive_directory_iterator:: recursion_pending
en.cppreference.com/w/cpp/filesystem/recursive_directory_iterator/recursion_pending
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().
std::filesystem::recursive_directory_iterator::recursive_directory ...
en.cppreference.com/w/cpp/filesystem/recursive_directory_iterator/recursive_directory_iterator
2023-09-06T00:00:00.0000000
Recursive
directory
iterators do not follow
directory
symlinks by default. To enable this behavior, specify directory_options::follow_directory_symlink among the options option set. [ edit ] Example
std::filesystem::recursive_directory_iterator::operator*, std ...
en.cppreference.com/w/cpp/filesystem/recursive_directory_iterator/operator*
Accesses the pointed-to directory_entry.. The result of operator* or operator-> on the end iterator is undefined behavior.
Feedback