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
{{ message }}
This repository has been archived by the owner on Dec 26, 2023. It is now read-only.
Add a define that enables error checking in robin_hood map, to check for invalid uses of iteratos after map/set is modified. This is mostly for debugging.
Add a flag ROBIN_HOOD_ITERATOR_STABILITY_CHECK or something like that which enables/disables this code part:
Add counter member variable to robin_hood (initialized e.g. with a random number or just zero)
Counter is increased whenever the map is modified
All iterators get this counter when counter
accessing the iterator checks if the iterator's counter is the same as the map's counter, throws an exception otherwise
Thanks John for suggesting this!
The text was updated successfully, but these errors were encountered:
Add a define that enables error checking in robin_hood map, to check for invalid uses of iteratos after map/set is modified. This is mostly for debugging.
ROBIN_HOOD_ITERATOR_STABILITY_CHECK
or something like that which enables/disables this code part:Thanks John for suggesting this!
The text was updated successfully, but these errors were encountered: