
5 Jun
2009
5 Jun
'09
3:06 p.m.
AMDG David Abrahams wrote:
on Thu Mar 05 2009, Matt Calabrese <rivorus-AT-gmail.com> wrote:
The problem with using a PP sequence is that you are going to hit a hard limit of 256 elements
Hm, I was under the impression that PP SEQs weren't limited in that way. Am I missing something?
Nearly everything in the PP library has a hard limit of 256. for instance, I see code like this for PP SEQs: # define BOOST_PP_SEQ_ELEM_0(x) x, BOOST_PP_NIL # define BOOST_PP_SEQ_ELEM_1(_) BOOST_PP_SEQ_ELEM_0 # define BOOST_PP_SEQ_ELEM_2(_) BOOST_PP_SEQ_ELEM_1 ... # define BOOST_PP_SEQ_ELEM_255(_) BOOST_PP_SEQ_ELEM_254 True, it's possible to create larger SEQs, but the PP library can't process them. In Christ, Steven Watanabe