Boost logo

Boost Users :

Subject: Re: [Boost-users] [preprocessor] add pointer to T..
From: Manfred Doudar (manfred.doudar_at_[hidden])
Date: 2010-05-30 11:03:33


On Sun, 30 May 2010 16:51:51 +0200
joel falcou <joel.falcou_at_[hidden]> wrote:

> Manfred Doudar wrote:
> > Hello,
> >
> > Thinking maybe little to late in the night at my end, but can see
> > how to generate the following:
> >
> > T0*
> > T0*, T1*
> > T0*, T1*, T2
> #define MAKE_TYPE(z,n,t) BOOST_PP_CAT(T,n)*
>
> BOOST_PP_ENUM(10,MAKE_TYPE,~)
>

Thank you Joel, but how do I get the repetition across the other
dimension? - I'm thinking I need something like a For-loop in there, so
I get the rows of varying lengths..

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