basic_path::has_parent_path Method

Specifies whether the stored file name contains a parent path.

bool has_parent_path() const;

Return Value

true if the parent path is not empty; otherwise, false.

Requirements

Header: filesystem

Namespace: std::tr2::sys

See Also

Reference

basic_path Class

basic_path::parent_path Method

<filesystem>