Fix extract() member function doc
authorkhizmax <khizmax@gmail.com>
Wed, 4 Feb 2015 14:36:22 +0000 (17:36 +0300)
committerkhizmax <khizmax@gmail.com>
Wed, 4 Feb 2015 14:36:22 +0000 (17:36 +0300)
18 files changed:
cds/container/ellen_bintree_map_rcu.h
cds/container/ellen_bintree_set_rcu.h
cds/container/lazy_kvlist_rcu.h
cds/container/lazy_list_rcu.h
cds/container/michael_kvlist_rcu.h
cds/container/michael_list_rcu.h
cds/container/michael_map_rcu.h
cds/container/michael_set_rcu.h
cds/container/skip_list_map_rcu.h
cds/container/skip_list_set_rcu.h
cds/container/split_list_map_rcu.h
cds/container/split_list_set_rcu.h
cds/intrusive/ellen_bintree_rcu.h
cds/intrusive/lazy_list_rcu.h
cds/intrusive/michael_list_rcu.h
cds/intrusive/michael_set_rcu.h
cds/intrusive/skip_list_rcu.h
cds/intrusive/split_list_rcu.h

index 1252a5907c5e352dafbdb2c3ef2689e4d307aa00..d9c3e918186815c33299b079bc9367ede9e94556 100644 (file)
@@ -392,17 +392,17 @@ namespace cds { namespace container {
 
         /// Extracts an item from the map using \p pred for searching
         /**
-            The function is an analog of \ref cds_nonintrusive_EllenBinTreeMap_rcu_extract "extract(exempt_ptr&, Q const&)"
+            The function is an analog of \p extract(Q const&)
             but \p pred is used for key compare.
             \p Less has the interface like \p std::less and should meet \ref cds_container_EllenBinTreeSet_rcu_less
             "predicate requirements".
             \p pred must imply the same element order as the comparator used for building the map.
         */
         template <typename Q, typename Less>
-        exempt_ptr extract_with( Q const& val, Less pred )
+        exempt_ptr extract_with( Q const& key, Less pred )
         {
             CDS_UNUSED( pred );
-            return exempt_ptr( base_class::extract_with_( val,
+            return exempt_ptr( base_class::extract_with_( key,
                 cds::details::predicate_wrapper< leaf_node, Less, typename maker::key_accessor >() ));
         }
 
index 07a007512278b7e98d36f679cc81f97a63facf6a..eaa413552bb91ad05b92f1c100e1b5e4d38c25f0 100644 (file)
@@ -406,17 +406,16 @@ namespace cds { namespace container {
 
         /// Extracts an item from the set using \p pred for searching
         /**
-            The function is an analog of \ref cds_nonintrusive_EllenBinTreeSet_rcu_extract "extract(exempt_ptr&, Q const&)"
-            but \p pred is used for key compare.
+            The function is an analog of \p extract(Q const&) but \p pred is used for key compare.
             \p Less has the interface like \p std::less and should meet \ref cds_container_EllenBinTreeSet_rcu_less
             "predicate requirements".
             \p pred must imply the same element order as the comparator used for building the set.
         */
         template <typename Q, typename Less>
-        exempt_ptr extract_with( Q const& val, Less pred )
+        exempt_ptr extract_with( Q const& key, Less pred )
         {
             CDS_UNUSED( pred );
-            return exempt_ptr( base_class::extract_with_( val,
+            return exempt_ptr( base_class::extract_with_( key,
                 cds::details::predicate_wrapper< leaf_node, Less, typename maker::value_accessor >() ));
         }
 
index 8b9514ac2cbbb7b165f31ac454248b51baa4954c..de24d1312dc0124e0009786aff83085b80238fd9 100644 (file)
@@ -559,7 +559,7 @@ namespace cds { namespace container {
 
         /// Extracts an item from the list using \p pred predicate for searching
         /**
-            This function is the analog for \ref cds_nonintrusive_LazyKVList_rcu_extract "extract(exempt_ptr&, K const&)".
+            This function is the analog for \p extract(K const&).
             The \p pred is a predicate used for key comparing.
             \p Less has the interface like \p std::less.
             \p pred must imply the same element order as \ref key_comparator.
index 218a6d9e836da4748a3648b12ae3b773d72cd4ce..8aec5b12ba7d0be6a9563a142b5a60684105ff67 100644 (file)
@@ -536,7 +536,7 @@ namespace cds { namespace container {
 
         /// Extracts an item from the list using \p pred predicate for searching
         /**
-            This function is the analog for \ref cds_nonintrusive_LazyList_rcu_extract "extract(exempt_ptr&, Q const&)".
+            This function is the analog for \p extract(Q const&).
 
             The \p pred is a predicate used for key comparing.
             \p Less has the interface like \p std::less.
index 04d9b237e40b5be1236b90f230c9160b4b6e9641..d113430013d1ba9bb3c03dfc752bb0f88e7a2cdf 100644 (file)
@@ -556,7 +556,7 @@ namespace cds { namespace container {
 
         /// Extracts an item from the list using \p pred predicate for searching
         /**
-            This function is the analog for \ref cds_nonintrusive_MichaelKVList_rcu_extract "extract(exempt_ptr&, K const&)".
+            This function is the analog for \p extract(K const&).
             The \p pred is a predicate used for key comparing.
             \p Less has the interface like \p std::less.
             \p pred must imply the same element order as \ref key_comparator.
index 4188db124f42edd7a99955b4584f506dc39cacf2..cc53b77351ed8b7f39d284448966b14184caff41 100644 (file)
@@ -534,7 +534,7 @@ namespace cds { namespace container {
 
         /// Extracts an item from the list using \p pred predicate for searching
         /**
-            This function is the analog for \ref cds_nonintrusive_MichaelList_rcu_extract "extract(exempt_ptr&, Q const&)".
+            This function is the analog for \p extract(Q const&).
 
             The \p pred is a predicate used for key comparing.
             \p Less has the interface like \p std::less.
index 9f17bf3364fb4f18141c468d98d71ecfaaba0997..c86aaad2a0b453e92299411d08c74e51712135c8 100644 (file)
@@ -578,8 +578,7 @@ namespace cds { namespace container {
 
         /// Extracts an item from the map using \p pred predicate for searching
         /**
-            The function is an analog of \ref cds_nonintrusive_MichaelHashMap_rcu_extract "extract(exempt_ptr&, K const&)"
-            but \p pred is used for key comparing.
+            The function is an analog of \p extract(K const&) but \p pred is used for key comparing.
             \p Less functor has the interface like \p std::less.
             \p pred must imply the same element order as the comparator used for building the map.
         */
index 1d1ebe87a94567de98654c21680ffcb6ec8b0201..86da400d4dc38c05bf7b4ca3018c712b1c269697 100644 (file)
@@ -500,8 +500,7 @@ namespace cds { namespace container {
 
         /// Extracts an item from the set using \p pred predicate for searching
         /**
-            The function is an analog of \ref cds_nonintrusive_MichaelHashSet_rcu_extract "extract(exempt_ptr&, Q const&)"
-            but \p pred is used for key comparing.
+            The function is an analog of \p extract(Q const&) but \p pred is used for key comparing.
             \p Less functor has the interface like \p std::less.
             \p pred must imply the same element order as the comparator used for building the set.
         */
index 64f5c187eee3381cb6842105df0194139677d147..53bcf34447a23ad406bdb73396b3d4939b92b5b4 100644 (file)
@@ -430,8 +430,7 @@ namespace cds { namespace container {
 
         /// Extracts the item from the map with comparing functor \p pred
         /**
-            The function is an analog of \ref cds_nonintrusive_SkipListMap_rcu_extract "extract(exempt_ptr&, K const&)"
-            but \p pred predicate is used for key comparing.
+            The function is an analog of \p extract(K const&) but \p pred predicate is used for key comparing.
             \p Less has the semantics like \p std::less.
             \p pred must imply the same element order as the comparator used for building the map.
         */
index e1efa00c4b0c307f321b746106be37dddd1b42bc..fb50c9d06b65fb5cfa1026b7484bcde55b7d6088 100644 (file)
@@ -463,8 +463,7 @@ namespace cds { namespace container {
 
         /// Extracts the item from the set with comparing functor \p pred
         /**
-            The function is an analog of \ref cds_nonintrusive_SkipListSet_rcu_extract "extract(exempt_ptr&, Q const&)"
-            but \p pred predicate is used for key comparing.
+            The function is an analog of \p extract(Q const&) but \p pred predicate is used for key comparing.
             \p Less has the semantics like \p std::less.
             \p pred must imply the same element order as the comparator used for building the set.
         */
index 59e8008fd2e3a7a7026e00bba7ff86704af59476..bb84fb2c10f6ac498162f9a0df9fc5daa16b9420 100644 (file)
@@ -498,8 +498,7 @@ namespace cds { namespace container {
 
         /// Extracts an item from the map using \p pred predicate for searching
         /**
-            The function is an analog of \ref cds_nonintrusive_SplitListMap_rcu_extract "extract(exempt_ptr&, K const&)"
-            but \p pred is used for key comparing.
+            The function is an analog of \p extract(K const&) but \p pred is used for key comparing.
             \p Less functor has the interface like \p std::less.
             \p pred must imply the same element order as the comparator used for building the map.
         */
index 79a7c9b58909fa13f9bc3a3c17805593869d4099..e483babe530a0e9743ee5abc9273fbeb0b818536 100644 (file)
@@ -629,8 +629,7 @@ namespace cds { namespace container {
 
         /// Extracts an item from the set using \p pred predicate for searching
         /**
-            The function is an analog of \ref cds_nonintrusive_SplitListSet_rcu_extract "extract(exempt_ptr&, Q const&)"
-            but \p pred is used for key comparing.
+            The function is an analog of \p extract(Q const&) but \p pred is used for key comparing.
             \p Less functor has the interface like \p std::less.
             \p pred must imply the same element order as the comparator used for building the set.
         */
index a6577dcdfd3bf079b75b1a2c8c765e278d87ed0d..45dc686f7502d46427ac73c8c731730e4221ffc4 100644 (file)
@@ -1026,8 +1026,7 @@ namespace cds { namespace intrusive {
 
         /// Extracts an item from the set using \p pred for searching
         /**
-            The function is an analog of \ref cds_intrusive_EllenBinTree_rcu_extract "extract(exempt_ptr&, Q const&)"
-            but \p pred is used for key compare.
+            The function is an analog of \p extract(Q const&) but \p pred is used for key compare.
             \p Less has the interface like \p std::less and should meet \ref cds_intrusive_EllenBinTree_rcu_less
             "predicate requirements".
             \p pred must imply the same element order as the comparator used for building the tree.
index ce42d4d7221e1577dd26c5f9ea0dcfb086944892..7d3b1f532142dacab266c55aa8625b7622ae4b60 100644 (file)
@@ -629,7 +629,7 @@ namespace cds { namespace intrusive {
 
         /// Extracts an item from the list using \p pred predicate for searching
         /**
-            This function is the analog for \ref cds_intrusive_LazyList_rcu_extract "extract(exempt_ptr&, Q const&)".
+            This function is the analog for \p extract(Q const&).
 
             The \p pred is a predicate used for key comparing.
             \p Less has the interface like \p std::less.
index 250c91e3f66109aead7749d64dcd0b62e6b8e7d5..2114e83a4453f38640ada053ee08b64a89ef2c3a 100644 (file)
@@ -530,7 +530,7 @@ namespace cds { namespace intrusive {
 
         /// Extracts an item from the list using \p pred predicate for searching
         /**
-            This function is the analog for \ref cds_intrusive_MichaelList_rcu_extract "extract(exempt_ptr&, Q const&)".
+            This function is the analog for \p extract(Q const&)
 
             The \p pred is a predicate used for key comparing.
             \p Less has the interface like \p std::less.
index 3980473e1d69b51613519213783aaef36907b9f9..7a200fde94731ac4b27077103de8696759bea49f 100644 (file)
@@ -446,8 +446,7 @@ namespace cds { namespace intrusive {
 
         /// Extracts an item from the set using \p pred predicate for searching
         /**
-            The function is an analog of \ref cds_intrusive_MichaelHashSet_rcu_extract "extract(exempt_ptr&, Q const&)"
-            but \p pred is used for key comparing.
+            The function is an analog of \p extract(Q const&) but \p pred is used for key comparing.
             \p Less functor has the interface like \p std::less.
             \p pred must imply the same element order as the comparator used for building the set.
         */
index f08df91268584eb29c1f0f07165348899e04ee82..6153b559e29c8468eef86914520cc4f3d9e78cee 100644 (file)
@@ -1648,8 +1648,7 @@ retry:
 
         /// Extracts the item from the set with comparing functor \p pred
         /**
-            The function is an analog of \ref cds_intrusive_SkipListSet_rcu_extract "extract(exempt_ptr&, Q const&)"
-            but \p pred predicate is used for key comparing.
+            The function is an analog of \p extract(Q const&) but \p pred predicate is used for key comparing.
             \p Less has the interface like \p std::less.
             \p pred must imply the same element order as the comparator used for building the set.
         */
index 384b2d6db2f8442ca472b25480712bcac02743cb..6ca39c321dc51e1bffc9538b1535f8d7c9238341 100644 (file)
@@ -740,8 +740,7 @@ namespace cds { namespace intrusive {
 
         /// Extracts an item from the set using \p pred for searching
         /**
-            The function is an analog of \ref cds_intrusive_SplitListSet_rcu_extract "extract(exempt_ptr&, Q const&)"
-            but \p pred is used for key compare.
+            The function is an analog of \p extract(Q const&) but \p pred is used for key compare.
             \p Less functor has the interface like \p std::less.
             \p pred must imply the same element order as the comparator used for building the set.
         */