This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: last stab at alternative pointer support
- From: Paolo Carlini <paolo dot carlini at oracle dot com>
- To: Bob Walters <bob dot s dot walters at gmail dot com>, libstdc++ at gcc dot gnu dot org
- Date: Tue, 8 Jul 2008 07:42:15 -0500 (CDT)
- Subject: Re: last stab at alternative pointer support
- Accept-language: en-US
- References: <BDA48CB3-7173-4F99-B0C4-FEE47B462BBE@gmail.com>
... looks *much* better, thanks, I like the consistent dispatching via _Rb_tree_impl_chooser. Now we (libstdc++ maintainers) have to spend some time going through each single line again...
Two remarks: eventually everything would have to be uglified, thus not using_const_cast but something like __using_const_cast. Much more important: do you have a definite plan for containers like <vector>? I suspect many users expect the relatively simple <vector> to work well with alternate pointers and I hope there are no specific difficulties there!
Paolo.