hashtable local iterator

Paolo Carlini paolo.carlini@oracle.com
Wed Dec 28 12:07:00 GMT 2011


On 12/28/2011 11:49 AM, Marc Glisse wrote:
> it looks like (I haven't really checked) with _Ebo_helper we get 
> public inheritance all the way from unordered_set to 
> unary_function<_Value,_Value> (from _Identity). I don't think it 
> causes any issue, but do we maybe want a private inheritance somewhere 
> along the way?
>
> (please don't let that prevent you from committing)
Yes, unless there are other more substantive issues, let's ho ahead with 
the patch and close the PR, let's first make sure we don't have this 
regression in the codebase. Then, Francois, consider Marc's suggestion 
for a separate piece of work, which maybe could also at once fix the 
comments in hashtable.h and elsewhere explicitly mentioning 
unary_function, which actually is deprecated in C++11 and can be at most 
an implementation detail.

Paolo.



More information about the Libstdc++ mailing list