std::filesystem::directory_entry::directory_entry
Min standard notice:
Constructs a new directory_entry object.
# Declarations
directory_entry() noexcept = default;
(since C++17)
directory_entry( const directory_entry& ) = default;
(since C++17)
directory_entry( directory_entry&& ) noexcept = default;
(since C++17)
explicit directory_entry( const std::filesystem::path& p );
(since C++17)
directory_entry( const std::filesystem::path& p, std::error_code& ec );
(since C++17)
# Parameters
p: path to the filesystem object to which the directory entry will referec: out-parameter for error reporting in the non-throwing overload
# Example
This section is incompleteReason: no example