$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: [boost] [lambda][cast] 1.42 and 1.43 boost/lambda/cast.hpp requires #include before it - bug?
From: Krzysztof Czainski (1czajnik_at_[hidden])
Date: 2010-05-09 09:12:00
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