Boost logo

Boost Users :

From: John Maddock (john_at_[hidden])
Date: 2008-08-25 05:16:47


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.


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