30
Input/output library
[input.output]
30.10
File systems
[filesystems]
30.10.12
Class
directory_entry
[fs.class.directory_entry]
30.10.12.1
directory_entry
constructors
[fs.dir.entry.cons]
explicit directory_entry(const path& p); directory_entry(const path& p, error_code& ec);
1
#
Effects:
Constructs an object of type
directory_entry
, then
refresh()
or
refresh(ec)
, respectively
.
2
#
Postconditions:
path() == p
if no error occurs, otherwise
path() == std::filesystem::path()
.
3
#
Throws:
As specified in
[fs.err.report]
.