
2 Sep
2009
2 Sep
'09
12:23 p.m.
2009/9/2
Yep, I now see your POV and this is admittedly something people can disagree on. Another possibility is that Boost.Unordered provide
const_iterator find(const key_type& k) const;
template< typename CompatibleKey,typename CompatibleHash,typename CompatiblePred > iterator find( const CompatibleKey& k, const CompatibleHash& hash,const CompatiblePred& eq)const;
which is a pure extension without backwards compatibility problems. This is seemingly what Boost.Intrusive is doing.
Yes, I think I'll add that to the new version which should be released in 1.41 or 1.42. Daniel