Share via


basic_path::has_root_directory Method

Specifies whether the stored file name contains a root directory.

bool has_root_directory() const;

Return Value

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

Requirements

Header: filesystem

Namespace: std::tr2::sys

See Also

Reference

basic_path Class

basic_path::root_directory Method

<filesystem>