X-Git-Url: http://plrg.eecs.uci.edu/git/?p=libcds.git;a=blobdiff_plain;f=cds%2Fintrusive%2Fstriped_set.h;h=f9990d1f913e5425f5fd86a4462d46a53c38ad6a;hp=4f799d3de62e6b6f7a7246e153a90f0c90a30f28;hb=ba8f90c18cb0f1087573692b6e7aacc183233233;hpb=dc521229801c6ecb4b28f124d90eab1cb10553aa diff --git a/cds/intrusive/striped_set.h b/cds/intrusive/striped_set.h index 4f799d3d..f9990d1f 100644 --- a/cds/intrusive/striped_set.h +++ b/cds/intrusive/striped_set.h @@ -486,9 +486,6 @@ namespace cds { namespace intrusive { void func( value_type& val ); \endcode where \p val is the item inserted. - - The user-defined functor is called only if the inserting is success and can be passed by reference - using \p std::ref. */ template bool insert( value_type& val, Func f ) @@ -528,8 +525,6 @@ namespace cds { namespace intrusive { The functor may change non-key fields of the \p item. - You may pass \p func argument by reference using \p std::ref. - Returns std::pair where \p first is \p true if operation is successful, \p second is \p true if new item has been added or \p false if the item with \p key already is in the set. @@ -617,7 +612,6 @@ namespace cds { namespace intrusive { void operator()( value_type const& item ); }; \endcode - The functor may be passed by reference with boost:ref If the item with key equal to \p val is not found the function return \p false. @@ -671,8 +665,6 @@ namespace cds { namespace intrusive { \endcode where \p item is the item found, \p val is the find function argument. - You can pass \p f argument by reference using \p std::ref. - The functor may change non-key fields of \p item. The \p val argument is non-const since it can be used as \p f functor destination i.e., the functor @@ -713,8 +705,6 @@ namespace cds { namespace intrusive { \endcode where \p item is the item found, \p val is the find function argument. - You can pass \p f argument by reference using \p std::ref. - The functor may change non-key fields of \p item. The \p val argument is non-const since it can be used as \p f functor destination i.e., the functor