The operation performs inserting or changing data with lock-free manner.
If the \p key not found in the map, then the new item created from \p key
The operation performs inserting or changing data with lock-free manner.
If the \p key not found in the map, then the new item created from \p key
constructible from type \p K).
Otherwise, the functor \p func is called with item found.
The functor \p Func may be a function with signature:
constructible from type \p K).
Otherwise, the functor \p func is called with item found.
The functor \p Func may be a function with signature:
- \p bNew - \p true if the item has been inserted, \p false otherwise
- \p item - item of the tree
- \p bNew - \p true if the item has been inserted, \p false otherwise
- \p item - item of the tree
The function is an analog of \ref cds_nonintrusive_EllenBinTreeMap_rcu_get "get(Q const&)"
but \p pred is used for comparing the keys.
The function is an analog of \ref cds_nonintrusive_EllenBinTreeMap_rcu_get "get(Q const&)"
but \p pred is used for comparing the keys.