
26 Feb
2010
26 Feb
'10
3:27 p.m.
Hi, in Boost.Filesystem I can find a function: template <class Path> std::time_t last_write_time(const Path& p); which is corresponding to st_mtime (last modification time) of the stat structure. Within the stat structure, their are also st_atime and st_ctime defined, but there are no corresponding functions. Is there a special reason for that? Maybe not portabel? Couldn't they be added? E.g. template <class Path> std::time_t last_access_time(const Path& p); template <class Path> std::time_t last_status_change_time(const Path& p); Cheers, Sascha