Boost logo

Boost :

From: Jens Maurer (Jens.Maurer_at_[hidden])
Date: 2000-11-27 18:28:44


Dave Abrahams wrote:
> I notice that http://www.boost.org/libs/compiler_status.htm shows
> that cast_test.cpp fails under GCC. Does anyone (e.g. Jens) know if
> the failure mode is INTERNAL COMPILER ERROR?

Yes, it is.

> Does anyone have a
> proposed fix?

Yes: define the function out-of-line instead of in-line.
Patch attached (may not work on MSVC).

> If we have accepted or are going to accept lexical_cast<>, is it part
> of the casts library?

lexical_cast<> gets its own header, because it needs iostreams, which
is rather heavyweight.

Jens Maurer



Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk