status Function
Retrieves the status of the specified file.
template<class Path>
inline file_status status(
const Path& Pval
);
template<class Path>
inline file_status status(
const Path& Pval,
error_code& Code
);
Parameters
Pval
A Path object. Path can be either a basic_path or a type that's derived from basic_path.Code
An error_code object.
Return Value
The status of the file that's specified by Pval.
Remarks
The second function assigns to Code any error code that's associated with the operation.
Requirements
Header: filesystem
Namespace: std::tr2::sys