//@endcond
public:
- typedef cds::urcu::gc<RCU> gc; ///< RCU
+ typedef cds::urcu::gc<RCU> gc; ///< RCU
typedef T value_type; ///< Type of value stored in the list
typedef Traits traits; ///< List traits
The argument \p itemValue of user-defined functor \p func is the reference
to the list's item inserted. User-defined functor \p func should guarantee that during changing
item's value no any other changes could be made on this list's item by concurrent threads.
- The user-defined functor can be passed by reference using \p std::ref
- and it is called only if the inserting is success.
The type \p Q should contain the complete key of the node.
The object of \ref value_type should be constructible from \p key of type \p Q.
/** \anchor cds_nonintrusive_MichealList_rcu_erase_val
Since the key of MichaelList's item type \p value_type is not explicitly specified,
template parameter \p Q defines the key type searching in the list.
- The list item comparator should be able to compare values of the type \p value_type
+ The list item comparator should be able to compare values of the type \p value_type
and \p Q in any order.
RCU \p synchronize method can be called. RCU should not be locked.