# std::experimental::filesystem::directory_entry::path

> C++ Atlas: `cppatlas.com/w/cpp/experimental/fs/directory_entry/path` | Source: https://en.cppreference.com/w/cpp/experimental/fs/directory_entry/path | Domain: Technical specifications

Returns the full path the directory entry refers to.

## Official Specification Summary (cppreference)

```cpp
const path& path() const; // (filesystem TS)
operator const path& () const; // (filesystem TS)
```

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`

### See also

> Note: This section is incomplete

---
Attribution: content from https://en.cppreference.com/w/cpp/experimental/fs/directory_entry/path (cppreference.com), licensed under CC-BY-SA 3.0 and GFDL. Modified: converted to markdown, study notes added. Offline snapshot of 9 February 2025.