[using boost 1.32.0 with gcc 3.4.2 (mingw)]
It seems to me that
is_same<
lambda
::type::value is allways true. Is this intended or a bug?
::type doesn't compile at all. This is surprising since for example
The exercise 1-6 in the MPL tutorial,
http://www.boost.org/libs/mpl/doc/tutorial/exercises.html ,
reads
"Build a lambda expression that has functionality equivalent
to twice. Hint: mpl::apply is a metafunction!"
where twice is defined as
template
::type yields int**** as expected. Is there some fundamental difference between the metafunctions twice and apply?
My tests suggest that the compilation failure is caused
by the property of lambda