Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2003-04-15 10:47:35


Vincenzo Innocente <Vincenzo.Innocente_at_[hidden]> writes:

> Is any reason why boost::tuple is limited to ten entries?

It's not. You can build your own tuple type out of cons<...> cells
if you need a bigger tuple than accomodated by the convenient
interface:

  http://www.boost.org/libs/tuple/doc/tuple_advanced_interface.html

> Will be this limit removed in future releases?

Actually, IIUC a non- cons-based implementation will replace the
current one for efficiency reasons; that one _will_ have a hard upper
limit on size which can only be changed by using a preprocessor macro
on the command-line.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

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