This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: [RFC] optional fast iterators for set/map in libstdc++


> It seems that to be really useful, different container classes should
> be created.  In this way, users could more easily use them based on
> their performance and memory constraints.  A compile flag or switch
> just cannot give the flexibility required.

Agreed. This is an interesting idea, and seems promising, but this is
the wrong form. You'd think this would be a policy. I'll try to work up
an example of this.

And the idea of an ABI-different container with a compile flag and no
linkage difference is not the kind of thing that should be encouraged,
ever. 

-benjamin


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