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