
19 Jul
2008
19 Jul
'08
12:02 p.m.
on Sat Jul 19 2008, Daniel Frey <d.frey-AT-gmx.de> 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 http://www.boostpro.com