basic_path::has_parent_path方法

指定该存储的文件名是否包含父路径。

bool has_parent_path() const;

返回值

true,如果父路径不为空;否则,false。

要求

标头: 文件系统

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

请参见

参考

basic_path选件类

basic_path::parent_path方法

<filesystem>