$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Jeff Garland (jeff_at_[hidden])
Date: 2003-09-09 07:45:15
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