basic_path::has_root_name Method

Specifies whether the stored file name contains a root name.

bool has_root_name() const;

Return Value

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

Requirements

Header: filesystem

Namespace: std::tr2::sys

See Also

Reference

basic_path Class

basic_path::root_name Method

<filesystem>