basic_path::has_root_directory方法

指定该存储的文件名是否包含根目录。

bool has_root_directory() const;

返回值

true,如果根目录不为空;否则,false。

要求

**标头:**文件系统

**命名空间:**std::tr2::sys

请参见

参考

basic_path选件类

basic_path::root_directory方法

<filesystem>