basic_path::has_root_name 方法

指定的文件名是否包含一根名称。

bool has_root_name() const;

返回值

true,如果根名称不为空;否则,返回 false。

要求

标头: filesystem

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

请参见

参考

basic_path 类

basic_path::root_name 方法

<filesystem>