25 Aug
2008
25 Aug
'08
9:16 a.m.
Markus Werle wrote:
Hi!
Maybe I overlooked this portion of the docs, so could you please give me a hint, whether and how one can set the maximum number of tuple elements.
Ah... what the TR says is "The maximum number of elements in one tuple type (clause 6.1) is implementation defined. This limit should be at least 10." So you can't change it, or portably store more than 10 elements. Of course if you just happen to be using the Boost implementation then all the Boost.Fusion macros and extensions kick in, but you can't guarentee that: to take one example VC9+sp1 supplies it's own TR1 tuple so that's what Boost.TR1 pulls in (out of necessity). HTH, John.