[lambda][cast] 1.42 and 1.43 boost/lambda/cast.hpp requires #include before it - bug?

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. Regards Krzysztof Czainski

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
participants (2)
-
Krzysztof Czainski
-
Steven Watanabe