basic_path::remove_leaf Method
Removes the last path element in the relative path, if it exists.
basic_path& remove_filename();
Return Value
*this after the removal of the last path element.
Requirements
Header: filesystem
Namespace: std::tr2::sys