SysTutorials

Linux Manual Pages › Section 3

stdfilesystemdirectory_entrypath(3)

std::filesystem::directory_entry::path - std::filesystem::directory_entry::path

Synopsis

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

 This section is incomplete  Reason: no example

See also

 This section is incomplete