Remove std::ref and boost::ref from docs
[libcds.git] / cds / container / michael_list_rcu.h
index 24b6b62fc14d247d916b8d24286a98036b0a8e88..4c3d502e7650b015edc154cd00f0fd92c3cd7b4f 100644 (file)
@@ -111,7 +111,7 @@ namespace cds { namespace container {
         //@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
 
@@ -341,8 +341,6 @@ namespace cds { namespace container {
             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.
@@ -420,7 +418,7 @@ namespace cds { namespace container {
         /** \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.