$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Aleksey Gurtovoy (agurtovoy_at_[hidden])
Date: 2002-11-22 18:23:53
David B. Held wrote:
> > 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
> > };
> > [...]
>
> I assume it's safe to have this stuff in even for compilers
> that don't need it?
Yes.
> If I recall, it gets evaluated to nothing on conforming platforms?
Yes.
> Also, I assume the first argument is the arity, and the last argument
> is a parenthesized list of the template parameters?
Exactly!
Aleksey