basic_path::parent_path Method
Retrieves the parent path of the basic_path object.
basic_path parent_path() const;
Return Value
A basic_path object that contains the stored file name up to, but not including, its final component. Extra slashes are removed.
Remarks
A file name component is one of these:
A prefix that consists of all elements up to and including the first colon.
A root that consists of a slash.
A slash-delimited path element.
Requirements
Header: filesystem
Namespace: std::tr2::sys