std::experimental::filesystem::directory_iterator::directory_iterator (3) - Linux Manuals
std::experimental::filesystem::directory_iterator::directory_iterator: std::experimental::filesystem::directory_iterator::directory_iterator
Command to display std::experimental::filesystem::directory_iterator::directory_iterator
manual in Linux: $ man 3 std::experimental::filesystem::directory_iterator::directory_iterator
NAME
std::experimental::filesystem::directory_iterator::directory_iterator - std::experimental::filesystem::directory_iterator::directory_iterator
Synopsis
directory_iterator(); (1) (filesystem TS)
explicit directory_iterator( const path& p ); (2) (filesystem TS)
directory_iterator( const path& p, error_code& ec ); (3) (filesystem TS)
directory_iterator( const directory_iterator& ) = default; (4) (filesystem TS)
directory_iterator( directory_iterator&& ) = default; (5) (filesystem TS)
Constructs a new directory iterator.
1) Constructs the end iterator.
2) Constructs a directory iterator that refers to the first directory entry of a directory identified by p. If p refers to an non-existing file or not a directory, returns the end iterator.
Parameters
This section is incomplete
Exceptions
1)
noexcept specification:
noexcept
2) filesystem_error if an error occurs. The exception object is constructed with p as an argument.
3)
noexcept specification:
noexcept
Notes
To iterate over the current directory, construct the iterator as directory_iterator(".") instead of directory_iterator("").
Pages related to std::experimental::filesystem::directory_iterator::directory_iterator
- std::experimental::filesystem::directory_iterator::operator*,operator-> (3) - std::experimental::filesystem::directory_iterator::operator*,operator->
- std::experimental::filesystem::directory_iterator::operator= (3) - std::experimental::filesystem::directory_iterator::operator=
- std::experimental::filesystem::directory_iterator (3) - std::experimental::filesystem::directory_iterator
- std::experimental::filesystem::directory_entry (3) - std::experimental::filesystem::directory_entry
- std::experimental::filesystem::directory_entry::assign (3) - std::experimental::filesystem::directory_entry::assign
- std::experimental::filesystem::directory_entry::directory_entry (3) - std::experimental::filesystem::directory_entry::directory_entry
- std::experimental::filesystem::directory_entry::operator= (3) - std::experimental::filesystem::directory_entry::operator=
- std::experimental::filesystem::directory_entry::operator==,!=,<,<=,>,>= (3) - std::experimental::filesystem::directory_entry::operator==,!=,<,<=,>,>=
- std::experimental::filesystem::directory_entry::path (3) - std::experimental::filesystem::directory_entry::path
- std::experimental::filesystem::directory_entry::replace_filename (3) - std::experimental::filesystem::directory_entry::replace_filename
- std::experimental::filesystem::directory_entry::status, (3) - std::experimental::filesystem::directory_entry::status,
- std::experimental::filesystem::directory_entry::status,std::experimental::filesystem::directory_entry::symlink_status (3) - std::experimental::filesystem::directory_entry::status,std::experimental::filesystem::directory_entry::symlink_status
- std::experimental::filesystem::directory_options (3) - std::experimental::filesystem::directory_options
- std::experimental::filesystem::absolute,std::experimental::filesystem::system_complete (3) - std::experimental::filesystem::absolute,std::experimental::filesystem::system_complete
- std::experimental::filesystem::begin(directory_iterator), (3) - std::experimental::filesystem::begin(directory_iterator),
- std::experimental::filesystem::begin(directory_iterator),std::experimental::filesystem::end(directory_iterator) (3) - std::experimental::filesystem::begin(directory_iterator),std::experimental::filesystem::end(directory_iterator)
- std::experimental::filesystem::begin(recursive_directory_iterator), (3) - std::experimental::filesystem::begin(recursive_directory_iterator),
- std::experimental::filesystem::begin(recursive_directory_iterator),std::experimental::filesystem::end(recursive_directory_iterator) (3) - std::experimental::filesystem::begin(recursive_directory_iterator),std::experimental::filesystem::end(recursive_directory_iterator)
- std::experimental::filesystem::canonical (3) - std::experimental::filesystem::canonical
- std::experimental::filesystem::copy (3) - std::experimental::filesystem::copy
- std::experimental::filesystem::copy_file (3) - std::experimental::filesystem::copy_file
- std::experimental::filesystem::copy_options (3) - std::experimental::filesystem::copy_options
- std::experimental::filesystem::copy_symlink (3) - std::experimental::filesystem::copy_symlink
- std::experimental::filesystem::create_directory, (3) - std::experimental::filesystem::create_directory,
- std::experimental::filesystem::create_directory,std::experimental::filesystem::create_directories (3) - std::experimental::filesystem::create_directory,std::experimental::filesystem::create_directories
- std::experimental::filesystem::create_hard_link (3) - std::experimental::filesystem::create_hard_link
- std::experimental::filesystem::create_symlink, (3) - std::experimental::filesystem::create_symlink,
- std::experimental::filesystem::create_symlink,std::experimental::filesystem::create_directory_symlink (3) - std::experimental::filesystem::create_symlink,std::experimental::filesystem::create_directory_symlink
- std::experimental::filesystem::current_path (3) - std::experimental::filesystem::current_path
- std::experimental::filesystem::equivalent (3) - std::experimental::filesystem::equivalent
- std::experimental::filesystem::exists (3) - std::experimental::filesystem::exists
- std::experimental::filesystem::file_size (3) - std::experimental::filesystem::file_size
- std::experimental::filesystem::file_status (3) - std::experimental::filesystem::file_status
- std::experimental::filesystem::file_status::file_status (3) - std::experimental::filesystem::file_status::file_status
- std::experimental::filesystem::file_status::operator= (3) - std::experimental::filesystem::file_status::operator=