Boost logo

Boost :

From: Vincenzo Innocente (Vincenzo.Innocente_at_[hidden])
Date: 2003-04-11 02:45:03


boost::tuple has the following forward declaration which limits its
capacity to 10:

template <
   class T0 = null_type, class T1 = null_type, class T2 = null_type,
   class T3 = null_type, class T4 = null_type, class T5 = null_type,
   class T6 = null_type, class T7 = null_type, class T8 = null_type,
   class T9 = null_type>
 class tuple;

Other implementations have no limit.
For example Alexandrescu's Loki typelist making macro has up to
TYPELIST_50, but the limit exists only if one uses the provided macros.
It is easy to exended to whatever value is needed.

Is any reason why boost::tuple is limited to ten entries?
Will be this limit removed in future releases?

          cheers,
              Vincenzo

btw
is there any difference between boost/tuple and
boost-sandbox/boost/tupple?


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk