Boost logo

Boost Users :

From: Arkadiy Vertleyb (vertleyb_at_[hidden])
Date: 2005-02-13 23:30:02


"Thorsten Ottosen" <nesotto_at_[hidden]> wrote

> I would to generate this list with the preprocessot lib:
>
> typename decay<T1>::type, typename decay<T2>::type ....

#define PARAM(z, n, data) \
    typename decay< T ## n >::type

BOOST_PP_ENUM(n, PARAM, ~)

HTH,
Arkadiy


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net