last_write_time Function

Determines the last write time for a specified file.

template<class Path>
inline time_t last_write_time(
   const Path& Pval


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

A time_t value that holds the last write time for the file that's specified by Pval, or 0 if the time cannot be determined.

Header: filesystem

Namespace: std::tr2::sys