11 May
2003
11 May
'03
2:08 p.m.
At 07:23 AM 5/10/2003, Beman Dawes wrote:
At 11:21 AM 5/9/2003, Ben Hutchings wrote:
What to do if the filesystem doesn't attach any time at all to a file? Fail at compile time? Always return some date in the past, like January 1, 1900, that is impossible as a real mdate (since computers were not invented yet) and so can be relied upon to indicate "no date available"?
Use std::time_t(-1) to be consistent with std::time and std::mktime.
Makes sense.
OK, a last_write_time() function has been added to CVS. See operations.hpp docs. Thanks for the suggestions! --Beman