|
Boost Users : |
From: Beman Dawes (bdawes_at_[hidden])
Date: 2003-05-10 06:23:45
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.
Thanks,
--Beman
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