You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
equal_range currently returns
pair(pos, pos)
whereas it should return
pair(pos, pos+1)
or
pair(end, end)
if the element was not found.
Since the range returned is open on one side [first, last), [pos, pos) is
the empty set.
Thanks,
Shaun
Original issue reported on code.google.com by sjackman on 8 May 2009 at 5:38
The text was updated successfully, but these errors were encountered:
Crikey! You're absolutely right. This has been a bug in sparsehash for
forever; I
guess not many folks use equal_range since these aren't multi-maps. Still,
seems
like a pretty bad bug to have in there. I'll see about pushing a new release
this
weekend.
Original comment by csilv...@gmail.com on 8 May 2009 at 8:28
Original issue reported on code.google.com by
sjackman
on 8 May 2009 at 5:38The text was updated successfully, but these errors were encountered: