Files
cppdraft_translate/cppdraft/fs/dir/entry/cons.md
2025-10-25 03:02:53 +03:00

1.1 KiB
Raw Blame History

[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);

1

#

Effects: Calls refresh() or refresh(ec), respectively.

2

#

Postconditions: path() == p if no error occurs, otherwise path() == filesystem::path().

3

#

Throws: As specified in [fs.err.report].