This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]