Boost logo

Boost :

Subject: Re: [boost] [lambda][cast] 1.42 and 1.43 boost/lambda/cast.hpp requires #include before it - bug?
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2010-05-09 09:57:01


AMDG

Krzysztof Czainski wrote:
> I have noticed, that with includes in this order:
>
> #include <boost/lambda/cast.hpp>
> #include <boost/lambda/lambda.hpp>
>
> later using ll_static_cast fails to compile with first message (gcc-4.3):
>
> /usr/include/boost/lambda/casts.hpp:93: error: ‘return_type_N’ is not a
> template
>
> However, including lambda.hpp before cast.hpp fixes the error.
> I have tested this with boost 1.42.0 and 1.43.0.
>

Please create a ticket at http://svn.boost.org/ including
a minimal complete test case, and I'll fix it as soon as I
have time.

In Christ,
Steven Watanabe


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