1.1 KiB
1.1 KiB
[fs.dir.entry.cons]
31 Input/output library [input.output]
31.12 File systems [filesystems]
31.12.10 Class directory_entry [fs.class.directory.entry]
31.12.10.2 Constructors [fs.dir.entry.cons]
explicit directory_entry(const filesystem::path& p); directory_entry(const filesystem::path& p, error_code& ec);
Effects: Calls refresh() or refresh(ec), respectively.
Postconditions: path() == p if no error occurs, otherwise path() == filesystem::path().
Throws: As specified in [fs.err.report].