std::filesystem::directory_entry::path

From cppreference.com
const std::filesystem::path& path() const noexcept;
(since C++17)
operator const std::filesystem::path& () const noexcept;
(since C++17)

Returns the full path the directory entry refers to.

Parameters

(none)

Return value

The full path the directory entry refers to.

Example

See also