Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2008-07-19 08:02:23

on Sat Jul 19 2008, Daniel Frey <> wrote:

> OK, tp... doesn't work. Next try:
> template< typename... Ts >
> void f( const std::tuple< Ts... >& tp )
> {
> g( std::get< Ns >( tp )... );
> }

Only slightly OT: in C++03, anyway, using a sequece of get<i> with
increasing i to access all elements of a cons-list style tuple induces
O(N^2) template instantiations. Have we done anything to fix that for
C++0x? Did we legalize a flat (fusion-style) tuple implementation?

Dave Abrahams
BoostPro Computing

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