30 May
2010
30 May
'10
3:10 p.m.
Manfred Doudar wrote:
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..
Try: #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,~)