I am trying new 1.30.0 release and got couple of problems on MSVC6 SP5.
First of all, compiling
#include
int main() { boost::gregorian::from_string( "" ); return 0; } yields warning:
I:\SW\EXTERNAL\BOOST_1_30_0\boost/lexical_cast.hpp(147) : warning C4800: 'void *' : forcing value to bool 'true' or 'false' (performance warning) I:\SW\EXTERNAL\BOOST_1_30_0\boost/lexical_cast.hpp(146) : while compiling class-template member function 'bool __thiscall boost::detail::lexical_stream
::operator <<(const class std::basic_string
&)'
I'm not sure what this would do on 1.29 b/c there have been lots of changes to lexical_cast. Of course I'm assuming this is an 'example' because with a blank string your program will core dump with an unhandled exception that occurs when it tries to construct a date from a blank string. Jeff