Boost logo

Boost :

From: David B. Held (dheld_at_[hidden])
Date: 2002-11-22 12:15:53


"Aleksey Gurtovoy" <agurtovoy_at_[hidden]> wrote in message
news:4034600A4760D411B8720001031D84FB0109654F_at_postoffice.office.meta...
> [...]
> 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?
If I recall, it gets evaluated to nothing on conforming platforms? Or
should
I protected it with #ifdef? Also, I assume the first argument is the arity,
and the last argument is a parenthesized list of the template parameters?

Dave


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk