
23 May
2008
23 May
'08
8:59 p.m.
Steven Watanabe a écrit :
How large a MAX_VAL? at 11 you are already generating 1296 specializations. MAX_VAL should be able to go up to 15 for a total of 136 specialisation as number of combination of A,B,C so that A+B+C=K seems to be (K+1)(K+2)/2
But indeed I generate 16*16*16 instanciation of some PP macros, which si friggin large.
I personally prefer SEQ to LIST... (0)(1)(2)(3)(4)(5)(6)(7)(8)(9) Indeed, I missed BOOST_PP_SEQ_FOR_EACH_PRODUCT
-- Joel FALCOU Research Engineer @ Institut d'Electronique Fondamentale Université PARIS SUD XI France