Boost logo

Boost Users :

Subject: [Boost-users] [boost-users][filesystem] some missing function
From: Sascha Ochsenknecht (s.ochsenknecht_at_[hidden])
Date: 2010-02-26 10:27:24


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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net