다음을 통해 공유


basic_path::remove_filename 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

See Also

Reference

basic_path Class

basic_path::relative_path Method

<filesystem>