Boost Users :
From: Jeff Garland (jeff_at_[hidden])
Date: 2005-07-17 15:24:17
On Sun, 17 Jul 2005 23:42:56 +0400, Serge Skorokhodov wrote
> Jeff Garland wrote:
> I'm not sure that this bug is related to boost::date_time as it
> occurs in boost::lexical_cast but I encounter it using the last cvs 1.33
> version of it.
Well, it's related to the extent that it prevents date-time from working...
> This code does not complie with MSVC++.NET 2003 with the following error:
> c:\usr\include\boost-1_33\boost\lexical_cast.hpp(150) : error C2679:
> binary '<<' : no operator found which takes a right-hand operand of type
> 'const NewSource' (or there is no acceptable conversion)
> c:\usr\include\boost-1_33\boost\lexical_cast.hpp(149) : while
> compiling class-template member function 'bool
> boost::detail::lexical_stream<Target,Source>::operator <<(const
> Source &)' with [
> c:\usr\include\boost-1_33\boost\lexical_cast.hpp(150) : error C2228:
> left of '.fail' must have class/struct/union type
> The problem seems to be too deep in the library for me:(
This is VC7 I presume? I'm afraid that the new i/o code is incompatible with
VC7, for a variety of reasons, and I have no intent to try and support it.
Anyway, I may be able to fix the other parsing bug in time for 1.33, but that
won't help you with wide chars...
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