basic_path::empty 方法

指定文件名字符串是否为空。

bool empty() const;

返回值

true,如果文件名字符串为空;否则,返回 false。

要求

标头: filesystem

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

请参见

参考

basic_path 类

<filesystem>

basic_string::empty