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 was archived by the owner on Mar 22, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 22, 2023. It is now read-only.
operator-- may fail in concurrent radix_tree #1159
If iterator points to end() and try_decrement fails, we will call key() on nullptr (leaf_ == nullptr for end())
Problem mentioned by lukaszstolarczuk is caused by a lack of special value for begin(). When we use operator++ and encounter end() we know it's time to stop. For operator-- be cannot rely on comparison with begin() since its value can change. We could introduce a special past-begin iterator for this purpose.
Activity
igchor commentedon Jul 15, 2021
There are two problems for this version: 6300980