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: Supporting non-standard pointer types in STL containers


Hi,

I quickly skimmed the patch and at the moment I'm mostly worried by the change to _Rb_tree_iterator, I don't think we can change the type (add a template parameter for the allocator) and keep the level of binary compatibility that we want.

Additionally to that, which at the moment seems a show stopper to me, I'm also concerned that, even assuming the other concerns (about the layout of _Rb_tree_impl for example) turns out to be unfunded, it looks like we are going to break binary compatibility with the existing instantiations with Alloc != std::allocator, that seems bad, after all the efforts we made in the past to clean the containers to work also with stateful allocators (well, still not optimally performance wise, but that is another binary compatibility issue which must wait for the next break, unfortunately).

Paolo.


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