David B. Held wrote:
> Does it work with VC6?
For all type traits templates and MPL's own metafunctions/algorithms - yes,
without any restrictions; for instance, "boost/mpl/test/lambda.cpp" compiles
on MSVC 6.5 as is.
For your own metafunctions, you have to intrude them a little bit, but
otherwise it works as well:
template< typename T > struct f
{
typedef T type;
BOOST_MPL_AUX_LAMBDA_SUPPORT(1,f,(T)) // here
};
typedef apply1<lambda< f<_> >::type, int > f_;
BOOST_MPL_ASSERT_IS_SAME(f_::type,int);
HTH,
Aleksey
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost