explicit directory_entry(const path& p); directory_entry(const path& p, error_code& ec);
Effects: Constructs an object of type directory_entry, then refresh() or refresh(ec), respectively.
Postconditions: path() == p if no error occurs, otherwise path() == std::filesystem::path().
Throws: As specified in [fs.err.report].