|
Boost Users : |
Subject: Re: [Boost-users] [preprocessor] add pointer to T..
From: Manfred Doudar (manfred.doudar_at_[hidden])
Date: 2010-05-30 11:24:43
On Sun, 30 May 2010 17:14:47 +0200
joel falcou <joel.falcou_at_[hidden]> wrote:
> joel falcou wrote:
> > #define MAKE_TYPE(z,n,t) BOOST_PP_CAT(T,n)*
> > #define MAKE_ROW(z,n,t) BOOST_PP_ENUM(n,MAKE_TYPE,~)
> >
> > BOOST_PP_REPEAT(10,MAKE_ROW,~)
>
> I missed your need, you may just need to use BOOST_PP_FOR or
> BOOST_PP_ITERATE over your code calling the MAKE_TYPE in BOOST_PP_ENUM
Yes, ..trying that right now. However, if you or anyone else comes up
with a solution, I'd be happy to see it. But I'll keep trying at this
end.
Thanks ever so much for your help to date.
Cheers,
-- Manfred
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