hash policy patch

Paolo Carlini paolo.carlini@oracle.com
Sun Jul 24 19:25:00 GMT 2011


On 07/23/2011 10:31 PM, François Dumont wrote:
> Hi
>
>     While working on DR 41975 I realized a small issue in current 
> rehash implementation that sometimes lead to load_factor being greater 
> than max_load_factor. Here is a patch to fix that:
Ok, good.

I think we could as well have everywhere:

     const unsigned long __p = *std::lower_bound...

and then change the following *__p to __p. Isn't a tad cleaner?

Thanks,
Paolo.



More information about the Libstdc++ mailing list