std::experimental::filesystem::recursive_directory_iterator::recursive_directory_iterator
From cppreference.com
< cpp | experimental | fs | recursive directory iterator
recursive_directory_iterator(); |
(1) | (filesystem TS) |
recursive_directory_iterator( const recursive_directory_iterator& ) = default; |
(2) | (filesystem TS) |
recursive_directory_iterator( recursive_directory_iterator&& ) = default; |
(3) | (filesystem TS) |
explicit recursive_directory_iterator( const path& p, directory_options options = directory_options::none ); |
(4) | (filesystem TS) |
recursive_directory_iterator( const path& p, directory_options options, error_code& ec ); |
(5) | (filesystem TS) |
recursive_directory_iterator( const path& p, error_code& ec ); |
(6) | (filesystem TS) |
Constructs new recursive directory iterator.
1) Default constructor. Constructs an end iterator.
2,3) Default copy and move constructors.
4-6) Constructs an iterator that refers to the first entry in the directory that p resolves to.
This section is incomplete Reason: errors |
[edit] Parameters
This section is incomplete |
[edit] Exceptions
1,5,6)
noexcept specification:
noexcept
This section is incomplete |
[edit] Notes
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.