basic_path::has_root_path Method

Specifies whether the stored file name contains a root path.

bool has_root_path() const;

Return Value

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

Requirements

Header: filesystem

Namespace: std::tr2::sys

See Also

Reference

basic_path Class

basic_path::root_path Method

<filesystem>