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].