basic_path::relative_path Method
Retrieves the relative path of the stored file name.
basic_path relative_path() const;
Return Value
A basic_path object that contains the relative path. Any leading backslashes or forward slashes are removed.
Remarks
A relative path has one or more path elements that are delimited by sequences of slashes.
Requirements
Header: filesystem
Namespace: std::tr2::sys