std::experimental::filesystem::recursive_directory_iterator::recursive_directory_iterator

From cppreference.com
 
 
Technical specifications
Filesystem library (filesystem TS)
Library fundamentals (library fundamentals TS)
Library fundamentals 2 (library fundamentals 2 TS)
Extensions for parallelism (parallelism TS)
Extensions for parallelism 2 (parallelism TS v2)
Extensions for concurrency (concurrency TS)
Concepts (concepts TS)
Ranges (ranges TS)
Special mathematical functions (special math TR)
 
 
 
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)

Contructs new recursive directory iterator.

1) Default constructor. Constructs an end iterator.
2-3) Default copy and move constructors.
4-6) Constructs a iterator that refers to the first entry in the directory that p resolves to.

Parameters

Exceptions

1,5,6)
noexcept specification:  
noexcept
  

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.