30 Input/output library [input.output]

30.10 File systems [filesystems]

30.10.31 Class directory_­entry [fs.class.directory_entry]

30.10.31.1 directory_­entry constructors [fs.dir.entry.cons]

explicit directory_entry(const path& p); directory_entry(const path& p, error_code& ec);

Effects: Создает объект типа directory_­entrythen refresh() или refresh(ec)соответственно.

Postconditions: path() == p если ошибки не возникает, иначе path() == std​::​filesystem​::​path().

Throws: Как указано в [fs.err.report].