Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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
);

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.

The status of the file that's specified by Pval.

The second function assigns to Code any error code that's associated with the operation.

Header: filesystem

Namespace: std::tr2::sys

Show:
© 2015 Microsoft