std::experi...ory_iterator(3)
π NAME
std::experimental::filesystem::recursive_directory_iterator::recursive_directory_iterator β okay so it's the constructor of that whole mouthful, and yes, the man page literally says the giant qualified name twice, so I'm telling you twice too. No cap. It's the filesystem TS version, bestie, don't come for me.
This is the C++ Standard Library manual, section 3, and we're deep in constructor territory.
π¦ SYNOPSIS
recursive_directory_iterator(); (1)
(filesystem TS)
recursive_directory_iterator( const (2)
(filesystem TS)
recursive_directory_iterator& ) = default;
recursive_directory_iterator( recursive_directory_iterator&& ) = (3)
(filesystem TS)
default;
explicit recursive_directory_iterator( const path& p,
directory_options options (4)
(filesystem TS)
= directory_options::none );
recursive_directory_iterator( const path& p,
directory_options options, (5)
(filesystem TS)
error_code& ec );
recursive_directory_iterator( const path& p, error_code& ec ); (6)
(filesystem TS)
Constructs a new recursive directory iterator. That's the whole vibe. β¨
- Default constructor. Constructs an end iterator. Iconic, empty, done.
- , 3. Default copy and move constructors. They just do what they say on the tin,
= defaultand all. - β6. Constructs an iterator that refers to the first entry in the directory that
presolves to. Look at it go π«Ά
β οΈ Incomplete section alert! The original page literally says "This section is incomplete" with the reason "errors". So likeβ¦ nobody fully wrote this part yet. Not me making that up, fr fr.
πΈ PARAMETERS
This section is incomplete. That's it. That's the parameter section. The page really does leave us hanging like that π The path& p, directory_options options, and error_code& ec from the synopsis are all we get.
π EXCEPTIONS
Overloads 1, 5, and 6 have a noexcept specification of:
noexcept
β οΈ Another "This section is incomplete" lives right here too. The docs are under construction, what can I say π
π§ NOTES
Recursive directory iterators do not follow directory symlinks by default. Periodt. To enable this behavior, specify directory_options::follow_directory_symlink among the options option set. That's your glow-up for symlink-chasing energy π₯
π CATEGORIES
The page is filed under these, and yes, we're listing every single one:
- Noindexed pages
- Todo with reason
- Todo without reason
- unconditionally noexcept
π Hidden categories
- Pages with unreviewed unconditional noexcept template
- Pages with unreviewed noexcept template
β¨ That's the whole page, bestie β¨ It came from http://cppreference.com, timestamped 2024.06.10 β bookmark it, cite it, live by it π
π¦ 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