检索存储的文件名的符号链接状态。
file_status status() const;
file_status status(
error_code& Code
) const;
参数
- Code
一个 error_code 对象。
返回值
如果存储的符号链接状态不是 status_unknown,则返回存储的状态。 否则,方法确定状态从操作系统。
与操作的所有错误存储在 Code中。
要求
标头: filesystem
命名空间: std::tr2::sys
检索存储的文件名的符号链接状态。
file_status status() const;
file_status status(
error_code& Code
) const;
如果存储的符号链接状态不是 status_unknown,则返回存储的状态。 否则,方法确定状态从操作系统。
与操作的所有错误存储在 Code中。
标头: filesystem
命名空间: std::tr2::sys