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

> 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

Boost list run by bdawes at, gregod at, cpdaniel at, john at