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

path Class (C++ Standard Template Library)

path::root_directory Method

<filesystem>