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

is_regular_file Function

Indicates whether the specified file_status or file name represents a regular file.

inline bool is_regular_file(
   file_status Stat
template<class Path>
inline bool is_regular_file(
   const Path& Pval


A file_status object.


A Path object. Path can be either a basic_path or a type that's derived from basic_path.

The first function returns Stat.type() == regular_file. The second function returns is_regular_file(status(Pval)).

Header: filesystem

Namespace: std::tr2::sys

© 2015 Microsoft