Boost logo

Boost Users :

From: David Abrahams (dave_at_[hidden])
Date: 2005-08-05 12:46:38


Howard Hinnant <hinnant_at_[hidden]> writes:

> Fwiw, the tuple interface has been added to std::tr1::array:
>
> http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2005/n1836.pdf
>
> Section 6.2.2.5.

FWIW, that's ultimately the wrong generic interface for access to
fixed-length structures. It's okay for array, but for most tuple
implementations it generates O(N^2) template instantiations for a
traversal of N elements. I hope the Boost Fusion library and related
work will give us something better to propose soon.

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

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net