W3cubDocs

/C++

std::filesystem::directory_entry::path

const std::filesystem::path& path() const;
(since C++17)
operator const std::filesystem::path& () const;
(since C++17)

Returns the full path the directory entry refers to.

Parameters

(none).

Return value

The full path the directory entry refers to.

Exceptions

noexcept specification:
noexcept

Example

See also

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/filesystem/directory_entry/path