\code void func( value_type& item ) ;\endcode
The argument \p item of user-defined functor \p func is the reference
- to the list's item inserted.
+ to the list's item inserted.
When \p func is called it has exclusive access to the item.
The user-defined functor is called only if the inserting is success.
\endcode
where \p item is the item found, \p key is the <tt>find</tt> function argument.
- You may pass \p f argument by reference using \p std::ref.
-
The functor may change non-key fields of \p item. Note that the function is only guarantee
that \p item cannot be deleted during functor is executing.
The function does not serialize simultaneous access to the list \p item. If such access is