9 Sep
2003
9 Sep
'03
12:45 p.m.
On Tue, 09 Sep 2003 11:04:32 +0200, Andre du Toit wrote
Hi.
Calling boost::gregorian::from_string with string value = 2003-07-28 produces a range exception, i.e. year supposedly does not fall inside the range covered by boost::gregorian::date!!!!
Any suggestions?
Which boost? What platform? Exact code? using namespace boost::gregorian; std::string s1("2003-07-28"); date d1(from_string(s1)); This works fine for me on gcc 3.2, linux. Jeff