[boost.preprocessor] generating list of trait<T>::type

Hi All, I would to generate this list with the preprocessot lib: typename decay<T1>::type, typename decay<T2>::type .... BOOST_PP_BINARY_PARAMS don't seem to fit here. Any ideas of what I can do? Thanks -Thorsten -- Thorsten Ottosen ---------------------------- Dezide Aps -- Intelligent Customer Support: www.dezide.com Aalborg University --- Decision Support Systems: http://www.cs.aau.dk/index2.php?content=Research/bss C++ Boost: www.boost.org C++ Standard: http://www.open-std.org/JTC1/SC22/WG21/

"Thorsten Ottosen"
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

-----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Arkadiy Vertleyb
"Thorsten Ottosen"
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, ~)
You can also use BOOST_PP_INTERCEPT, which was designed for this type of
situation.
#include
participants (3)
-
Arkadiy Vertleyb
-
Paul Mensonides
-
Thorsten Ottosen