|
Boost Users : |
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-05-23 17:10:31
AMDG
Joel FALCOU wrote:
> 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 see. You might be able to get away with using nested BOOST_PP_REPEATs
You're limited to three levels so be careful.
In Christ,
Steven Watanabe
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