Boost logo

Boost :

From: Pavol Droba (droba_at_[hidden])
Date: 2004-04-13 03:48:26


I have a problem with the date-time library. I have a code like this:

 namespace date=boost::gregorian;

 date::date dtMin(date::min_date_time);
 cout << dtMin << endl;

Last line throws out-of-range exception. As far as I understand the meaning of min_date_time,
this should not happen.
If this is a standard behaviour, how can I get the minimal displayable date?



Boost list run by bdawes at, gregod at, cpdaniel at, john at