This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [c++0x] unique_ptr.hpp implementation
On 8/18/07, Paolo Carlini <pcarlini@suse.de> wrote:
> 2- If I remember correctly, tuple can certainly take advantage of
> decltype, which luckily Doug already implemented. While you are updating
> tuple, I would suggest looking into that too, if possible...
Yes. One can use decltype to implement tuple_element in O(1)
instantiations , rather than the current O(N) implementation. O(1) is
much, much better for compile-time performance.
- Doug