std::experimental::filesystem::path::relative_path

From cppreference.com
< cpp‎ | experimental‎ | fs‎ | path
path relative_path() const;
(filesystem TS)

Returns path relative to the root-path. If *this is an empty path, returns an empty path.

Contents

[edit] Parameters

(none)

[edit] Return value

Path relative to the root-path.

[edit] Exceptions

(none)

[edit] See also