Improving equal_range and erase(key) in tree containers

Paolo Carlini pcarlini@suse.de
Thu Oct 5 09:37:00 GMT 2006


Ion Gaztañaga wrote:

> Hi,
>
> While implementing my own tree containers, I've found that nearly
> every standard library version implements multiset/multimap
> equal_range with something like this: 

Ion, I think you are raising very good points, which, by the way, are 
already partially known to be correct (I mean the issue with 
equal_range). Now, there are the usual "boring" legal matters: how do 
you want to proceed? Would you like to submit complete patches under 
your name (in that case a Copyright Assignment is required, of course, 
through assignments@gnu.org, see <contribute changes> from the home page 
of the project) or are you ok for us to actually implement your ideas 
one way or another without mentioning your name in the Changelog (at 
least for anything bigger than, say, 5-10 lines of code)? Sorry if this 
remark appear "bureaucratic" but otherwise we are at risk of embarassing 
situations...

Thanks again,
Paolo.



More information about the Libstdc++ mailing list