From: khizmax Date: Sun, 13 Sep 2015 14:50:31 +0000 (+0300) Subject: ensure() and find(key) member functions are declared using [[deprecated]] attribute X-Git-Tag: v2.1.0~117 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e98e89712907f99cbf051d0e138a8e2472d43469;p=libcds.git ensure() and find(key) member functions are declared using [[deprecated]] attribute --- diff --git a/cds/container/ellen_bintree_map_rcu.h b/cds/container/ellen_bintree_map_rcu.h index 15a2ec12..d706d2c3 100644 --- a/cds/container/ellen_bintree_map_rcu.h +++ b/cds/container/ellen_bintree_map_rcu.h @@ -264,8 +264,8 @@ namespace cds { namespace container { return res; } //@cond - // Deprecated, use update() template + CDS_DEPRECATED("ensure() is deprecated, use update()") std::pair ensure( K const& key, Func func ) { return update( key, func, true ); @@ -463,8 +463,8 @@ namespace cds { namespace container { return base_class::contains( key ); } //@cond - // Deprecated, use contains() template + CDS_DEPRECATED("deprecated, use contains()") bool find( K const& key ) { return contains( key ); @@ -485,8 +485,8 @@ namespace cds { namespace container { return base_class::contains( key, cds::details::predicate_wrapper< leaf_node, Less, typename maker::key_accessor >() ); } //@cond - // Deprecated, use contains() template + CDS_DEPRECATED("deprecated, use contains()") bool find_with( K const& key, Less pred ) { return contains( key, pred ); diff --git a/cds/container/ellen_bintree_set_rcu.h b/cds/container/ellen_bintree_set_rcu.h index 6a248dfa..d1cdea73 100644 --- a/cds/container/ellen_bintree_set_rcu.h +++ b/cds/container/ellen_bintree_set_rcu.h @@ -251,8 +251,8 @@ namespace cds { namespace container { return bRes; } //@cond - // Deprecated, use update() template + CDS_DEPRECATED("ensure() is deprecated, use update()") std::pair ensure( const Q& val, Func func ) { return update( val, func, true ); @@ -501,8 +501,8 @@ namespace cds { namespace container { return base_class::contains( key ); } //@cond - // Deprecated, use contains() template + CDS_DEPRECATED("deprecated, use contains()") bool find( Q const& key ) const { return contains( key ); @@ -524,8 +524,8 @@ namespace cds { namespace container { return base_class::contains( key, cds::details::predicate_wrapper< leaf_node, Less, typename maker::value_accessor >()); } //@cond - // DEprecated, use contains() template + CDS_DEPRECATED("deprecated, use contains()") bool find_with( Q const& key, Less pred ) const { return contains( key, pred ); diff --git a/cds/container/impl/ellen_bintree_map.h b/cds/container/impl/ellen_bintree_map.h index 7c5f831b..b3a2feef 100644 --- a/cds/container/impl/ellen_bintree_map.h +++ b/cds/container/impl/ellen_bintree_map.h @@ -255,8 +255,8 @@ namespace cds { namespace container { return res; } //@cond - // Deprecated, use update() template + CDS_DEPRECATED("ensure() is deprecated, use update()") std::pair ensure( K const& key, Func func ) { return update( key, func, true ); @@ -449,8 +449,8 @@ namespace cds { namespace container { return base_class::contains( key ); } //@cond - // Deprecated, use contains() template + CDS_DEPRECATED("deprecated, use contains()") bool find( K const& key ) { return contains( key ); @@ -470,8 +470,8 @@ namespace cds { namespace container { return base_class::contains( key, cds::details::predicate_wrapper< leaf_node, Less, typename maker::key_accessor >() ); } //@cond - // Deprecated, use contains() template + CDS_DEPRECATED("deprecated, use contains()") bool find_with( K const& key, Less pred ) { return contains( key, pred ); diff --git a/cds/container/impl/ellen_bintree_set.h b/cds/container/impl/ellen_bintree_set.h index be6ece35..96afa74c 100644 --- a/cds/container/impl/ellen_bintree_set.h +++ b/cds/container/impl/ellen_bintree_set.h @@ -490,8 +490,8 @@ namespace cds { namespace container { return base_class::contains( key ); } //@cond - // Deprecated, use contains() template + CDS_DEPRECATED("deprecated, use contains()") bool find( Q const & key ) { return contains( key ); @@ -511,8 +511,8 @@ namespace cds { namespace container { return base_class::contains( key, cds::details::predicate_wrapper< leaf_node, Less, typename maker::value_accessor >()); } //@cond - // Deprecated, use contains() template + CDS_DEPRECATED("deprecated, use contains()") bool find_with( Q const& key, Less pred ) { return contains( key, pred ); diff --git a/cds/container/impl/lazy_kvlist.h b/cds/container/impl/lazy_kvlist.h index 541e8534..50762609 100644 --- a/cds/container/impl/lazy_kvlist.h +++ b/cds/container/impl/lazy_kvlist.h @@ -454,8 +454,8 @@ namespace cds { namespace container { return update_at( head(), key, f, bAllowInsert ); } //@cond - // Deprecated template + CDS_DEPRECATED("ensure() is deprecated, use update()") std::pair ensure( const K& key, Func f ) { return update( key, f, true ); @@ -583,8 +583,8 @@ namespace cds { namespace container { return find_at( head(), key, intrusive_key_comparator() ); } //@cond - // Deprecated template + CDS_DEPRECATED("deprecated, use contains()") bool find( Q const& key ) { return contains( key ); @@ -604,8 +604,8 @@ namespace cds { namespace container { return find_at( head(), key, typename maker::template less_wrapper::type() ); } //@cond - // Deprecated template + CDS_DEPRECATED("deprecated, use contains()") bool find_with( Q const& key, Less pred ) { return contains( key, pred ); diff --git a/cds/container/impl/lazy_list.h b/cds/container/impl/lazy_list.h index 50212291..79595829 100644 --- a/cds/container/impl/lazy_list.h +++ b/cds/container/impl/lazy_list.h @@ -560,8 +560,8 @@ namespace cds { namespace container { return find_at( head(), key, intrusive_key_comparator() ); } //@cond - // Deprecated, use contains() template + CDS_DEPRECATED("deprecated, use contains()") bool find( Q const& key ) { return contains( key ); @@ -581,8 +581,8 @@ namespace cds { namespace container { return find_at( head(), key, typename maker::template less_wrapper::type() ); } //@cond - // Deprecated, use contains() template + CDS_DEPRECATED("deprecated, use contains()") bool find_with( Q const& key, Less pred ) { return contains( key, pred ); diff --git a/cds/container/impl/michael_kvlist.h b/cds/container/impl/michael_kvlist.h index dc7d4bbe..9b3a3595 100644 --- a/cds/container/impl/michael_kvlist.h +++ b/cds/container/impl/michael_kvlist.h @@ -439,8 +439,8 @@ namespace cds { namespace container { return update_at( head(), key, f, bAllowInsert ); } //@cond - // Deprecated template + CDS_DEPRECATED("ensure() is deprecated, use update()") std::pair ensure( K const& key, Func f ) { return update( key, f, true ); @@ -586,8 +586,8 @@ namespace cds { namespace container { return find_at( head(), key, intrusive_key_comparator() ); } //@cond - // Deprecated template + CDS_DEPRECATED("deprecated, use contains()") bool find( Q const& key ) { return contains( key ); @@ -607,8 +607,8 @@ namespace cds { namespace container { return find_at( head(), key, typename maker::template less_wrapper::type() ); } //@cond - // Deprecated template + CDS_DEPRECATED("deprecated, use contains()") bool find_with( Q const& key, Less pred ) { CDS_UNUSED( pred ); diff --git a/cds/container/impl/michael_list.h b/cds/container/impl/michael_list.h index a321d258..e530f4c3 100644 --- a/cds/container/impl/michael_list.h +++ b/cds/container/impl/michael_list.h @@ -544,8 +544,8 @@ namespace cds { namespace container { return find_at( head(), key, intrusive_key_comparator() ); } //@cond - // Deprecated, use contains() template + CDS_DEPRECATED("deprecated, use contains()") bool find( Q const& key ) { return contains( key ); @@ -565,8 +565,8 @@ namespace cds { namespace container { return find_at( head(), key, typename maker::template less_wrapper::type() ); } //@cond - // Deprecated, use contains() template + CDS_DEPRECATED("deprecated, use contains()") bool find_with( Q const& key, Less pred ) { return contains( key, pred ); diff --git a/cds/container/impl/skip_list_map.h b/cds/container/impl/skip_list_map.h index 6bfdb2fb..d48709d7 100644 --- a/cds/container/impl/skip_list_map.h +++ b/cds/container/impl/skip_list_map.h @@ -329,8 +329,8 @@ namespace cds { namespace container { return res; } //@cond - // Deprecated, use update() template + CDS_DEPRECATED("ensure() is deprecated, use update()") std::pair ensure( K const& key, Func func ) { return update( key, func, true ); @@ -564,8 +564,8 @@ namespace cds { namespace container { return base_class::contains( key ); } //@cond - // Deprecated, use contains() template + CDS_DEPRECATED("deprecated, use contains()") bool find( K const& key ) { return contains( key ); @@ -585,8 +585,8 @@ namespace cds { namespace container { return base_class::contains( key, cds::details::predicate_wrapper< node_type, Less, typename maker::key_accessor >() ); } //@cond - // Deprecated, use contains() template + CDS_DEPRECATED("deprecated, use contains()") bool find_with( K const& key, Less pred ) { return contains( key, pred ); diff --git a/cds/container/impl/skip_list_set.h b/cds/container/impl/skip_list_set.h index fc907cdd..bdc12979 100644 --- a/cds/container/impl/skip_list_set.h +++ b/cds/container/impl/skip_list_set.h @@ -287,8 +287,8 @@ namespace cds { namespace container { return bRes; } //@cond - // Deprecated, use update() template + CDS_DEPRECATED("ensure() is deprecated, use update()") std::pair ensure( const Q& val, Func func ) { return update( val, func, true ); @@ -565,8 +565,8 @@ namespace cds { namespace container { return base_class::contains( key ); } //@cond - // Deprecated, use contains() template + CDS_DEPRECATED("deprecated, use contains()") bool find( Q const& key ) { return contains( key ); @@ -586,8 +586,8 @@ namespace cds { namespace container { return base_class::contains( key, cds::details::predicate_wrapper< node_type, Less, typename maker::value_accessor >()); } //@cond - // Deprecated, use contains() template + CDS_DEPRECATED("deprecated, use contains()") bool find_with( Q const& key, Less pred ) { return contains( key, pred ); diff --git a/cds/container/lazy_kvlist_nogc.h b/cds/container/lazy_kvlist_nogc.h index 0208637d..4399ee5f 100644 --- a/cds/container/lazy_kvlist_nogc.h +++ b/cds/container/lazy_kvlist_nogc.h @@ -392,8 +392,8 @@ namespace cds { namespace container { return std::make_pair( node_to_iterator( ret.first ), ret.second ); } //@cond - // Deprecated, use update() template + CDS_DEPRECATED("ensure() is deprecated, use update()") std::pair ensure( const K& key ) { return update( key, true ); @@ -422,8 +422,8 @@ namespace cds { namespace container { return node_to_iterator( find_at( head(), key, intrusive_key_comparator() ) ); } //@cond - // Deprecated, use contains() template + CDS_DEPRECATED("deprecated, use contains()") iterator find( Q const& key ) { return contains( key ); @@ -443,8 +443,8 @@ namespace cds { namespace container { return node_to_iterator( find_at( head(), key, typename maker::template less_wrapper::type() ) ); } //@cond - // Deprecated, use contains() template + CDS_DEPRECATED("deprecated, use contains()") typename std::enable_if::type find_with( Q const& key, Less pred ) { return contains( key, pred ); @@ -463,8 +463,8 @@ namespace cds { namespace container { return node_to_iterator( find_at( head(), key, typename maker::template equal_to_wrapper::type() ) ); } //@cond - // Deprecated, use contains() template + CDS_DEPRECATED("deprecated, use contains()") typename std::enable_if::type find_with( Q const& key, Equal equal ) { return contains( key, equal ); diff --git a/cds/container/lazy_kvlist_rcu.h b/cds/container/lazy_kvlist_rcu.h index 6eb12850..631f0283 100644 --- a/cds/container/lazy_kvlist_rcu.h +++ b/cds/container/lazy_kvlist_rcu.h @@ -446,8 +446,8 @@ namespace cds { namespace container { return update_at( head(), key, func, bAllowInsert ); } //@cond - // Deprecated template + CDS_DEPRECATED("ensure() is deprecated, use update()") std::pair ensure( const K& key, Func f ) { return update( key, f, true ); @@ -590,8 +590,8 @@ namespace cds { namespace container { return find_at( head(), key, intrusive_key_comparator() ); } //@cond - // Deprecated template + CDS_DEPRECATED("deprecated, use contains()") bool find( Q const& key ) const { return contains( key ); @@ -613,8 +613,8 @@ namespace cds { namespace container { return find_at( head(), key, typename maker::template less_wrapper::type() ); } //@cond - // Deprecated template + CDS_DEPRECATED("deprecated, use contains()") bool find_with( Q const& key, Less pred ) const { return contains( key, pred ); diff --git a/cds/container/lazy_list_nogc.h b/cds/container/lazy_list_nogc.h index 5dc5de09..b10ad353 100644 --- a/cds/container/lazy_list_nogc.h +++ b/cds/container/lazy_list_nogc.h @@ -313,8 +313,8 @@ namespace cds { namespace container { return std::make_pair( node_to_iterator( ret.first ), ret.second ); } //@cond - // Deprecated, use update() template + CDS_DEPRECATED("ensure() is deprecated, use update()") std::pair ensure( Q const& val ) { return update( val, true ); @@ -333,8 +333,8 @@ namespace cds { namespace container { return node_to_iterator( find_at( head(), key, intrusive_key_comparator() )); } //@cond - // Deprecated, use contains() template + CDS_DEPRECATED("deprecated, use contains()") iterator find( Q const& key ) { return contains( key ); @@ -354,8 +354,8 @@ namespace cds { namespace container { return node_to_iterator( find_at( head(), key, typename maker::template less_wrapper::type() )); } //@cond - // Deprecated, use contains() template + CDS_DEPRECATED("deprecated, use contains()") typename std::enable_if::type find_with( Q const& key, Less pred ) { return contains( key, pred ); @@ -374,8 +374,8 @@ namespace cds { namespace container { return node_to_iterator( find_at( head(), key, typename maker::template equal_to_wrapper::type() )); } //@cond - // Deprecated, use contains() template + CDS_DEPRECATED("deprecated, use contains()") typename std::enable_if::type find_with( Q const& key, Equal equal ) { return contains( key, equal ); diff --git a/cds/container/lazy_list_rcu.h b/cds/container/lazy_list_rcu.h index 91d1284a..3b539e11 100644 --- a/cds/container/lazy_list_rcu.h +++ b/cds/container/lazy_list_rcu.h @@ -420,8 +420,8 @@ namespace cds { namespace container { return update_at( head(), key, func, bAllowInsert ); } //@cond - // Deprecated, use update() template + CDS_DEPRECATED("ensure() is deprecated, use update()") std::pair ensure( Q const& key, Func f ) { return update( key, f, true ); @@ -574,8 +574,8 @@ namespace cds { namespace container { return find_at( head(), key, intrusive_key_comparator() ); } //@cond - // Deprecated, use contains() template + CDS_DEPRECATED("deprecated, use contains()") bool find( Q const& key ) const { return contains( key ); @@ -595,8 +595,8 @@ namespace cds { namespace container { return find_at( head(), key, typename maker::template less_wrapper::type() ); } //@cond - // Deprecated, use contains() template + CDS_DEPRECATED("deprecated, use contains()") bool find_with( Q const& key, Less pred ) const { return contains( key, pred ); diff --git a/cds/container/michael_kvlist_nogc.h b/cds/container/michael_kvlist_nogc.h index ec55b9c6..a1586e89 100644 --- a/cds/container/michael_kvlist_nogc.h +++ b/cds/container/michael_kvlist_nogc.h @@ -408,8 +408,8 @@ namespace cds { namespace container { return std::make_pair( node_to_iterator( ret.first ), ret.second ); } //@cond - // Deprecated, use update() template + CDS_DEPRECATED("ensure() is deprecated, use update()") std::pair ensure( K const& key ) { return update( key ); @@ -437,8 +437,8 @@ namespace cds { namespace container { return node_to_iterator( find_at( head(), key, intrusive_key_comparator() ) ); } //@cond - // Deprecated, use contains() template + CDS_DEPRECATED("deprecated, use contains()") iterator find( Q const& key ) { return contains( key ); @@ -458,8 +458,8 @@ namespace cds { namespace container { return node_to_iterator( find_at( head(), key, typename maker::template less_wrapper::type() ) ); } //@cond - // Deprecated, use contains() template + CDS_DEPRECATED("deprecated, use contains()") iterator find_with( Q const& key, Less pred ) { return contains( key, pred ); diff --git a/cds/container/michael_kvlist_rcu.h b/cds/container/michael_kvlist_rcu.h index dc212d71..e1624a0a 100644 --- a/cds/container/michael_kvlist_rcu.h +++ b/cds/container/michael_kvlist_rcu.h @@ -487,8 +487,8 @@ namespace cds { namespace container { return update_at( head(), key, func, bAllowInsert ); } //@cond - // Deprecated template + CDS_DEPRECATED("ensure() is deprecated, use update()") std::pair ensure( const K& key, Func f ) { return update( key, f, true ); @@ -643,8 +643,8 @@ namespace cds { namespace container { return find_at( head(), key, intrusive_key_comparator() ); } //@cond - // Deprecated template + CDS_DEPRECATED("deprecated, use contains()") bool find( Q const& key ) { return contains( key ); @@ -666,8 +666,8 @@ namespace cds { namespace container { return find_at( head(), key, typename maker::template less_wrapper::type() ); } //@cond - // Deprecated template + CDS_DEPRECATED("deprecated, use contains()") bool find_with( Q const& key, Less pred ) { return contains( key, pred ); diff --git a/cds/container/michael_list_nogc.h b/cds/container/michael_list_nogc.h index a9c94b79..b6a48ce0 100644 --- a/cds/container/michael_list_nogc.h +++ b/cds/container/michael_list_nogc.h @@ -309,8 +309,8 @@ namespace cds { namespace container { return std::make_pair( node_to_iterator( ret.first ), ret.second ); } //@cond - // Deprecated, use update() template + CDS_DEPRECATED("ensure() is deprecated, use update()") std::pair ensure( const Q& val ) { return update( val, true ); @@ -339,8 +339,8 @@ namespace cds { namespace container { return node_to_iterator( find_at( head(), key, intrusive_key_comparator() )); } //@cond - // Deprecated, ue contains() template + CDS_DEPRECATED("deprecated, use contains()") iterator find( Q const& key ) { return contains( key ); @@ -360,8 +360,8 @@ namespace cds { namespace container { return node_to_iterator( find_at( head(), key, typename maker::template less_wrapper::type() ) ); } //@cond - // Deprecated, use contains() template + CDS_DEPRECATED("deprecated, use contains()") iterator find_with( Q const& key, Less pred ) { return contains( key, pred ); diff --git a/cds/container/michael_list_rcu.h b/cds/container/michael_list_rcu.h index 5377e195..ee7809b9 100644 --- a/cds/container/michael_list_rcu.h +++ b/cds/container/michael_list_rcu.h @@ -425,8 +425,8 @@ namespace cds { namespace container { return update_at( head(), key, func, bAllowInsert ); } //@cond - // Deprecated, use update() template + CDS_DEPRECATED("ensure() is deprecated, use update()") std::pair ensure( Q const& key, Func f ) { return update( key, f, true ); @@ -589,8 +589,8 @@ namespace cds { namespace container { return find_at( head(), key, intrusive_key_comparator() ); } //@cond - // Deprecated, use contains() template + CDS_DEPRECATED("deprecated, use contains()") bool find( Q const& key ) { return contains( key ); diff --git a/cds/container/michael_map.h b/cds/container/michael_map.h index 5079ab73..4af31da7 100644 --- a/cds/container/michael_map.h +++ b/cds/container/michael_map.h @@ -508,8 +508,8 @@ namespace cds { namespace container { return bRet; } //@cond - // Deprecated template + CDS_DEPRECATED("ensure() is deprecated, use update()") std::pair ensure( K const& key, Func func ) { std::pair bRet = bucket( key ).update( key, func, true ); @@ -706,8 +706,8 @@ namespace cds { namespace container { return bucket( key ).contains( key ); } //@cond - // Deprecated template + CDS_DEPRECATED("deprecated, use contains()") bool find( K const& key ) { return bucket( key ).contains( key ); @@ -726,8 +726,8 @@ namespace cds { namespace container { return bucket( key ).contains( key, pred ); } //@cond - // Deprecated template + CDS_DEPRECATED("deprecated, use contains()") bool find_with( K const& key, Less pred ) { return bucket( key ).contains( key, pred ); diff --git a/cds/container/michael_map_nogc.h b/cds/container/michael_map_nogc.h index e1be221d..2ac3d449 100644 --- a/cds/container/michael_map_nogc.h +++ b/cds/container/michael_map_nogc.h @@ -417,8 +417,8 @@ namespace cds { namespace container { return std::make_pair( iterator( ret.first, &refBucket, m_Buckets + bucket_count() ), ret.second ); } //@cond - // Deprecated, use update() template + CDS_DEPRECATED("ensure() is deprecated, use update()") std::pair ensure( K const& key ) { return update( key, true ); @@ -442,8 +442,8 @@ namespace cds { namespace container { return end(); } //@cond - // Deprecated, use contains() template + CDS_DEPRECATED("deprecated, use contains()") iterator find( K const& key ) { return contains( key ); @@ -468,8 +468,8 @@ namespace cds { namespace container { return end(); } //@cond - // Deprecated, use contains() template + CDS_DEPRECATED("deprecated, use contains()") iterator find_with( K const& key, Less pred ) { return contains( key, pred ); diff --git a/cds/container/michael_map_rcu.h b/cds/container/michael_map_rcu.h index a8e8c2fa..53097d49 100644 --- a/cds/container/michael_map_rcu.h +++ b/cds/container/michael_map_rcu.h @@ -439,8 +439,8 @@ namespace cds { namespace container { return bRet; } //@cond - // Deprecated template + CDS_DEPRECATED("ensure() is deprecated, use update()") std::pair ensure( K const& key, Func func ) { std::pair bRet = bucket( key ).ensure( key, func ); @@ -656,8 +656,8 @@ namespace cds { namespace container { return bucket( key ).contains( key ); } //@cond - // Deprecated template + CDS_DEPRECATED("deprecated, use contains()") bool find( K const& key ) { return bucket( key ).contains( key ); @@ -676,8 +676,8 @@ namespace cds { namespace container { return bucket( key ).contains( key, pred ); } //@cond - // Deprecated template + CDS_DEPRECATED("deprecated, use contains()") bool find_with( K const& key, Less pred ) { return bucket( key ).contains( key, pred ); diff --git a/cds/container/skip_list_map_nogc.h b/cds/container/skip_list_map_nogc.h index 5260b428..33a41e4c 100644 --- a/cds/container/skip_list_map_nogc.h +++ b/cds/container/skip_list_map_nogc.h @@ -247,8 +247,8 @@ namespace cds { namespace container { return base_class::update( std::make_pair( key, mapped_type() ), bInsert ); } //@cond - // Deprecated, use update() template + CDS_DEPRECATED("ensure() is deprecated, use update()") std::pair ensure( K const& key ) { return update( key, true ); @@ -267,8 +267,8 @@ namespace cds { namespace container { return base_class::contains( key ); } //@cond - // Deprecated, use contains() template + CDS_DEPRECATED("deprecated, use contains()") iterator find( K const& key ) { return contains( key ); @@ -287,8 +287,8 @@ namespace cds { namespace container { return base_class::contains( key, pred ); } //@cond - // Deprecated, use contains() template + CDS_DEPRECATED("deprecated, use contains()") iterator find_with( K const& key, Less pred ) const { return contains( key, pred ); diff --git a/cds/container/skip_list_map_rcu.h b/cds/container/skip_list_map_rcu.h index 22efe3f4..de2924c8 100644 --- a/cds/container/skip_list_map_rcu.h +++ b/cds/container/skip_list_map_rcu.h @@ -362,8 +362,8 @@ namespace cds { namespace container { return res; } //@cond - // Deprecated, use update() template + CDS_DEPRECATED("ensure() is deprecated, use update()") std::pair ensure( K const& key, Func func ) { return update( key, func, true ); @@ -555,8 +555,8 @@ namespace cds { namespace container { return base_class::contains( key ); } //@cond - // Deprecated, use contains() template + CDS_DEPRECATED("deprecated, use contains()") bool find( K const& key ) { return contains( key ); @@ -576,8 +576,8 @@ namespace cds { namespace container { return base_class::contains( key, cds::details::predicate_wrapper< node_type, Less, typename maker::key_accessor >() ); } //@cond - // Deprecated, use contains() template + CDS_DEPRECATED("deprecated, use contains()") bool find_with( K const& key, Less pred ) { return contains( key, pred ); diff --git a/cds/container/skip_list_set_nogc.h b/cds/container/skip_list_set_nogc.h index ab1100bc..e2df987c 100644 --- a/cds/container/skip_list_set_nogc.h +++ b/cds/container/skip_list_set_nogc.h @@ -287,8 +287,8 @@ namespace cds { namespace container { return std::make_pair( node_to_iterator( pNode ), bRes.second ); } //@cond - // Deprecated, use update() template + CDS_DEPRECATED("ensure() is deprecated, use update()") std::pair ensure( const Q& val ) { return update( val, true ); @@ -309,8 +309,8 @@ namespace cds { namespace container { return base_class::nonconst_end(); } //@cond - // Deprecated, use contains() template + CDS_DEPRECATED("deprecated, use contains()") iterator find( Q const& key ) const { return contains( key ); @@ -333,8 +333,8 @@ namespace cds { namespace container { return base_class::nonconst_end(); } //@cond - // Deprecated, use contains() template + CDS_DEPRECATED("deprecated, use contains()") iterator find_with( Q const& key, Less pred ) const { return contains( key, pred ); diff --git a/cds/container/skip_list_set_rcu.h b/cds/container/skip_list_set_rcu.h index d6347a5c..0739b742 100644 --- a/cds/container/skip_list_set_rcu.h +++ b/cds/container/skip_list_set_rcu.h @@ -364,8 +364,8 @@ namespace cds { namespace container { return bRes; } //@cond - // Deprecated, use update() template + CDS_DEPRECATED("ensure() is deprecated, use update()") std::pair ensure( const Q& val, Func func ) { return update( val, func, true ); @@ -610,8 +610,8 @@ namespace cds { namespace container { return base_class::contains( key ); } //@cond - // Deprecated, use contains() template + CDS_DEPRECATED("deprecated, use contains()") bool find( Q const & key ) { return contains( key ); @@ -631,8 +631,8 @@ namespace cds { namespace container { return base_class::contains( key, cds::details::predicate_wrapper< node_type, Less, typename maker::value_accessor >()); } //@cond - // Deprecated, use contains() template + CDS_DEPRECATED("deprecated, use contains()") bool find_with( Q const& key, Less pred ) { return contains( key, pred ); diff --git a/cds/container/split_list_map.h b/cds/container/split_list_map.h index 5c7966a0..760b9b5b 100644 --- a/cds/container/split_list_map.h +++ b/cds/container/split_list_map.h @@ -345,8 +345,8 @@ namespace cds { namespace container { bAllowInsert ); } //@cond - // Deprecated, use update() template + CDS_DEPRECATED("ensure() is deprecated, use update()") std::pair ensure( K const& key, Func func ) { return update( key, func, true ); @@ -521,8 +521,8 @@ namespace cds { namespace container { return base_class::contains( key ); } //@cond - // Deprecated, use contains() template + CDS_DEPRECATED("deprecated, use contains()") bool find( K const& key ) { return contains( key ); @@ -542,8 +542,8 @@ namespace cds { namespace container { return base_class::contains( key, cds::details::predicate_wrapper() ); } //@cond - // Deprecated, use contains() template + CDS_DEPRECATED("deprecated, use contains()") bool find_with( K const& key, Less pred ) { return contains( key, pred ); diff --git a/cds/container/split_list_map_nogc.h b/cds/container/split_list_map_nogc.h index 4f1276cf..c6708856 100644 --- a/cds/container/split_list_map_nogc.h +++ b/cds/container/split_list_map_nogc.h @@ -240,8 +240,8 @@ namespace cds { namespace container { return base_class::update( std::make_pair( key, mapped_type() ), bAllowInsert ); } //@cond - // Deprecated, use update() template + CDS_DEPRECATED("ensure() is deprecated, use update()") std::pair ensure( K const& key ) { return update( key, true ); @@ -259,8 +259,8 @@ namespace cds { namespace container { return base_class::contains( key ); } //@cond - // Deprecated, use contains() template + CDS_DEPRECATED("deprecated, use contains()") iterator find( K const& key ) { return contains( key ); @@ -280,8 +280,8 @@ namespace cds { namespace container { return base_class::contains( key, cds::details::predicate_wrapper() ); } //@cond - // Deprecated, use contains() template + CDS_DEPRECATED("deprecated, use contains()") iterator find_with( K const& key, Less pred ) { return contains( key, pred ); diff --git a/cds/container/split_list_map_rcu.h b/cds/container/split_list_map_rcu.h index a2e41a8c..552f298f 100644 --- a/cds/container/split_list_map_rcu.h +++ b/cds/container/split_list_map_rcu.h @@ -389,8 +389,8 @@ namespace cds { namespace container { bAllowInsert ); } //@cond - // Deprecated, use update() template + CDS_DEPRECATED("ensure() is deprecated, use update()") std::pair ensure( K const& key, Func func ) { return update( key, func, true ); @@ -572,8 +572,8 @@ namespace cds { namespace container { return base_class::contains( key ); } //@cond - // Deprecated, use contains() template + CDS_DEPRECATED("deprecated, use contains()") bool find( K const& key ) { return base_class::find( key ); @@ -593,8 +593,8 @@ namespace cds { namespace container { return base_class::contains( key, cds::details::predicate_wrapper() ); } //@cond - // Deprecated, use contains() template + CDS_DEPRECATED("deprecated, use contains()") bool find_with( K const& key, Less pred ) { return contains( key, pred ); diff --git a/cds/container/split_list_set.h b/cds/container/split_list_set.h index 4e1e016a..7b358b02 100644 --- a/cds/container/split_list_set.h +++ b/cds/container/split_list_set.h @@ -473,8 +473,8 @@ namespace cds { namespace container { return bRet; } //@cond - // Deprecated, use update() template + CDS_DEPRECATED("ensure() is deprecated, use update()") std::pair ensure( Q const& val, Func func ) { return update( val, func, true ); @@ -674,8 +674,8 @@ namespace cds { namespace container { return base_class::contains( key ); } //@cond - // Deprecated, use contains() template + CDS_DEPRECATED("deprecated, use contains()") bool find( Q const& key ) { return contains( key ); @@ -695,8 +695,8 @@ namespace cds { namespace container { return base_class::contains( key, typename maker::template predicate_wrapper::type() ); } //@cond - // Deprecated, use contains() template + CDS_DEPRECATED("deprecated, use contains()") bool find_with( Q const& key, Less pred ) { return contains( key, pred ); diff --git a/cds/container/split_list_set_nogc.h b/cds/container/split_list_set_nogc.h index 89c5acf5..f84cc019 100644 --- a/cds/container/split_list_set_nogc.h +++ b/cds/container/split_list_set_nogc.h @@ -311,8 +311,8 @@ namespace cds { namespace container { return std::make_pair( iterator(ret.first), ret.second ); } //@cond - // Deprecated, use update() template + CDS_DEPRECATED("ensure() is deprecated, use update()") std::pair ensure( const Q& val ) { return update( val, true ); @@ -330,8 +330,8 @@ namespace cds { namespace container { return iterator( base_class::find_( key )); } //@cond - // Deprecated, use contains() template + CDS_DEPRECATED("deprecated, use contains()") iterator find( Q const& key ) { return contains( key ); diff --git a/cds/container/split_list_set_rcu.h b/cds/container/split_list_set_rcu.h index c353a6e4..b069cb9c 100644 --- a/cds/container/split_list_set_rcu.h +++ b/cds/container/split_list_set_rcu.h @@ -831,8 +831,8 @@ namespace cds { namespace container { return base_class::contains( key ); } //@cond - // Deprecated, use contains() template + CDS_DEPRECATED("deprecated, use contains()") bool find( Q const& key ) { return contains( key ); @@ -852,8 +852,8 @@ namespace cds { namespace container { return base_class::contains( key, typename maker::template predicate_wrapper::type() ); } //@cond - // Deprecated, use contains() template + CDS_DEPRECATED("deprecated, use contains()") bool find_with( Q const& key, Less pred ) { return contains( key, pred ); diff --git a/cds/intrusive/cuckoo_set.h b/cds/intrusive/cuckoo_set.h index 55be5c6d..f2c12f78 100644 --- a/cds/intrusive/cuckoo_set.h +++ b/cds/intrusive/cuckoo_set.h @@ -2524,8 +2524,8 @@ namespace cds { namespace intrusive { return std::make_pair( true, true ); } //@cond - // Deprecated, use update() template + CDS_DEPRECATED("ensure() is deprecated, use update()") std::pair ensure( value_type& val, Func func ) { return update( val, func, true ); @@ -2698,8 +2698,8 @@ namespace cds { namespace intrusive { return find( key, [](value_type&, Q const& ) {} ); } //@cond - // Deprecated, use contains() template + CDS_DEPRECATED("deprecated, use contains()") bool find( Q const& key ) { return contains( key ); @@ -2719,8 +2719,8 @@ namespace cds { namespace intrusive { return find_with( key, typename predicate_wrapper::type(), [](value_type& , Q const& ) {} ); } //@cond - // Deprecated,use contains() template + CDS_DEPRECATED("deprecated, use contains()") bool find_with( Q const& key, Predicate pred ) { return contains( key, pred ); diff --git a/cds/intrusive/ellen_bintree_rcu.h b/cds/intrusive/ellen_bintree_rcu.h index c0b8be52..35882943 100644 --- a/cds/intrusive/ellen_bintree_rcu.h +++ b/cds/intrusive/ellen_bintree_rcu.h @@ -852,8 +852,8 @@ namespace cds { namespace intrusive { return std::make_pair( true, true ); } //@cond - // Deprecated, use update() template + CDS_DEPRECATED("ensure() is deprecated, use update()") std::pair ensure( value_type& val, Func func ) { return update( val, func, true ); @@ -1071,8 +1071,8 @@ namespace cds { namespace intrusive { return false; } //@cond - // Deprecated, use contains() template + CDS_DEPRECATED("deprecated, use contains()") bool find( Q const& key ) const { return contains( key ); @@ -1108,8 +1108,8 @@ namespace cds { namespace intrusive { return false; } //@cond - // Deprecated, use contains() template + CDS_DEPRECATED("deprecated, use contains()") bool find_with( Q const& key, Less pred ) const { return contains( key, pred ); diff --git a/cds/intrusive/impl/ellen_bintree.h b/cds/intrusive/impl/ellen_bintree.h index 44f80b1d..61b71367 100644 --- a/cds/intrusive/impl/ellen_bintree.h +++ b/cds/intrusive/impl/ellen_bintree.h @@ -435,8 +435,8 @@ namespace cds { namespace intrusive { return std::make_pair( true, true ); } //@cond - // Deprecated, us update() template + CDS_DEPRECATED("ensure() is deprecated, use update()") std::pair ensure( value_type& val, Func func ) { return update( val, func, true ); @@ -648,8 +648,8 @@ namespace cds { namespace intrusive { return false; } //@cond - // Deprecated, use contains() template + CDS_DEPRECATED("deprecated, use contains()") bool find( Q const& key ) const { return contains( key ); @@ -682,8 +682,8 @@ namespace cds { namespace intrusive { return false; } //@cond - // Deprecated, use contains() template + CDS_DEPRECATED("deprecated, use contains()") bool find_with( Q const& key, Less pred ) const { return contains( key, pred ); diff --git a/cds/intrusive/impl/lazy_list.h b/cds/intrusive/impl/lazy_list.h index d8372e84..103dae8a 100644 --- a/cds/intrusive/impl/lazy_list.h +++ b/cds/intrusive/impl/lazy_list.h @@ -562,8 +562,8 @@ namespace cds { namespace intrusive { return update_at( &m_Head, val, func, bAllowInsert ); } //@cond - // Deprecated, use update() template + CDS_DEPRECATED("ensure() is deprecated, use update()") std::pair ensure( value_type& val, Func func ) { return update( val, func, true ); @@ -761,8 +761,8 @@ namespace cds { namespace intrusive { return find_at( &m_Head, key, key_comparator() ); } //@cond - // Deprecated, use contains() template + CDS_DEPRECATED("deprecated, use contains()") bool find( Q const& key ) { return contains( key ); @@ -782,8 +782,8 @@ namespace cds { namespace intrusive { return find_at( &m_Head, key, cds::opt::details::make_comparator_from_less() ); } //@cond - // Deprecated, use contains() template + CDS_DEPRECATED("deprecated, use contains()") bool find_with( Q const& key, Less pred ) { return contains( key, pred ); diff --git a/cds/intrusive/impl/michael_list.h b/cds/intrusive/impl/michael_list.h index 3482bdc1..c9b01576 100644 --- a/cds/intrusive/impl/michael_list.h +++ b/cds/intrusive/impl/michael_list.h @@ -559,8 +559,8 @@ namespace cds { namespace intrusive { } //@cond - // Deprecated, use update() template + CDS_DEPRECATED("ensure() is deprecated, use update()") std::pair ensure( value_type& val, Func func ) { return update( val, func, true ); @@ -762,8 +762,8 @@ namespace cds { namespace intrusive { return find_at( m_pHead, key, key_comparator() ); } //@cond - // Deprecated, use contains() template + CDS_DEPRECATED("deprecated, use contains()") bool find( Q const& key ) { return contains( key ); @@ -783,8 +783,8 @@ namespace cds { namespace intrusive { return find_at( m_pHead, key, cds::opt::details::make_comparator_from_less() ); } //@cond - // Deprecated, use contains() template + CDS_DEPRECATED("deprecated, use contains()") bool find_with( Q const& key, Less pred ) { return contains( key, pred ); diff --git a/cds/intrusive/impl/skip_list.h b/cds/intrusive/impl/skip_list.h index d9393119..e154675c 100644 --- a/cds/intrusive/impl/skip_list.h +++ b/cds/intrusive/impl/skip_list.h @@ -1154,8 +1154,8 @@ namespace cds { namespace intrusive { } } //@cond - // Deprecated, use update() instead template + CDS_DEPRECATED("ensure() is deprecated, use update()") std::pair ensure( value_type& val, Func func ) { return update( val, func, true ); @@ -1472,8 +1472,8 @@ namespace cds { namespace intrusive { return find_with_( key, key_comparator(), [](value_type& , Q const& ) {} ); } //@cond - // Deprecated, use contains() template + CDS_DEPRECATED("deprecated, use contains()") bool find( Q const& key ) { return contains( key ); @@ -1493,8 +1493,8 @@ namespace cds { namespace intrusive { return find_with_( key, cds::opt::details::make_comparator_from_less(), [](value_type& , Q const& ) {} ); } //@cond - // Deprecated, use contains() template + CDS_DEPRECATED("deprecated, use contains()") bool find_with( Q const& key, Less pred ) { return contains( key, pred ); diff --git a/cds/intrusive/lazy_list_nogc.h b/cds/intrusive/lazy_list_nogc.h index 6ecb29bf..e7d38fd1 100644 --- a/cds/intrusive/lazy_list_nogc.h +++ b/cds/intrusive/lazy_list_nogc.h @@ -376,8 +376,8 @@ namespace cds { namespace intrusive { return update_at( &m_Head, val, func, bAllowInsert ); } //@cond - // Deprecated, use update() template + CDS_DEPRECATED("ensure() is deprecated, use update()") std::pair ensure( value_type& val, Func func ) { return update( val, func, true ); @@ -467,8 +467,8 @@ namespace cds { namespace intrusive { return find_at( &m_Head, key, key_comparator() ); } //@cond - // Deprecated, use contains() template + CDS_DEPRECATED("deprecated, use contains()") value_type * find( Q const& key ) { return contains( key ); @@ -488,8 +488,8 @@ namespace cds { namespace intrusive { return find_at( &m_Head, key, cds::opt::details::make_comparator_from_less() ); } //@cond - // Deprecated, use contains() template + CDS_DEPRECATED("deprecated, use contains()") typename std::enable_if::type find_with( Q const& key, Less pred ) { return contains( key, pred ); @@ -507,8 +507,8 @@ namespace cds { namespace intrusive { return find_at( &m_Head, key, equal ); } //@cond - // Deprecated, use contains() template + CDS_DEPRECATED("deprecated, use contains()") typename std::enable_if::type find_with( Q const& key, Equal equal ) { return contains( key, equal ); diff --git a/cds/intrusive/lazy_list_rcu.h b/cds/intrusive/lazy_list_rcu.h index 12486644..b37e6061 100644 --- a/cds/intrusive/lazy_list_rcu.h +++ b/cds/intrusive/lazy_list_rcu.h @@ -488,8 +488,8 @@ namespace cds { namespace intrusive { return update_at( &m_Head, val, func, bAllowInsert ); } //@cond - // Deprecated, use update() template + CDS_DEPRECATED("ensure() is deprecated, use update()") std::pair ensure( value_type& val, Func func ) { return update( val, func, true ); @@ -716,8 +716,8 @@ namespace cds { namespace intrusive { return find_at( const_cast( &m_Head ), key, key_comparator() ); } //@cond - // Deprecated, use contains() template + CDS_DEPRECATED("deprecated, use contains()") bool find( Q const& key ) const { return contains( key ); @@ -737,8 +737,8 @@ namespace cds { namespace intrusive { return find_at( const_cast( &m_Head ), key, cds::opt::details::make_comparator_from_less() ); } //@cond - // Deprecated, use contains() template + CDS_DEPRECATED("deprecated, use contains()") bool find_with( Q const& key, Less pred ) const { return contains( key, pred ); diff --git a/cds/intrusive/michael_list_nogc.h b/cds/intrusive/michael_list_nogc.h index c1fec7c1..0bb2867d 100644 --- a/cds/intrusive/michael_list_nogc.h +++ b/cds/intrusive/michael_list_nogc.h @@ -332,8 +332,8 @@ namespace cds { namespace intrusive { return update_at( m_pHead, val, func, bAllowInsert ); } //@cond - // Deprecated, use update() template + CDS_DEPRECATED("ensure() is deprecated, use update()") std::pair ensure( value_type& val, Func func ) { return update( val, func ); @@ -404,8 +404,8 @@ namespace cds { namespace intrusive { return find_at( m_pHead, key, key_comparator() ); } //@cond - // Deprecated, use contains() template + CDS_DEPRECATED("deprecated, use contains()") value_type * find( Q const& key ) { return contains( key ); @@ -425,8 +425,8 @@ namespace cds { namespace intrusive { return find_at( m_pHead, key, cds::opt::details::make_comparator_from_less()); } //@cond - // Deprecated, use contains() template + CDS_DEPRECATED("deprecated, use contains()") value_type * find_with( Q const& key, Less pred ) { return contains( key, pred ); diff --git a/cds/intrusive/michael_list_rcu.h b/cds/intrusive/michael_list_rcu.h index 71f0b1d3..4fd6f839 100644 --- a/cds/intrusive/michael_list_rcu.h +++ b/cds/intrusive/michael_list_rcu.h @@ -484,8 +484,8 @@ namespace cds { namespace intrusive { return update_at( m_pHead, val, func, bAllowInsert ); } //@cond - // Deprecated, use update() template + CDS_DEPRECATED("ensure() is deprecated, use update()") std::pair ensure( value_type& val, Func func ) { return update( val, func, true ); @@ -712,8 +712,8 @@ namespace cds { namespace intrusive { return find_at( m_pHead, key, key_comparator() ); } //@cond - // Deprecated, use contains() template + CDS_DEPRECATED("deprecated, use contains()") bool find( Q const& key ) { return contains( key ); @@ -733,8 +733,8 @@ namespace cds { namespace intrusive { return find_at( m_pHead, key, cds::opt::details::make_comparator_from_less() ); } //@cond - // Deprecated template + CDS_DEPRECATED("deprecated, use contains()") bool find_with( Q const& key, Less pred ) { return contains( key, pred ); diff --git a/cds/intrusive/skip_list_nogc.h b/cds/intrusive/skip_list_nogc.h index dbb941a4..b00fb3a0 100644 --- a/cds/intrusive/skip_list_nogc.h +++ b/cds/intrusive/skip_list_nogc.h @@ -754,8 +754,8 @@ namespace cds { namespace intrusive { } } //@cond - // Deprecated, use update() instead template + CDS_DEPRECATED("ensure() is deprecated, use update()") std::pair ensure( value_type& val, Func func ) { return update( val, func, true ); @@ -835,8 +835,8 @@ namespace cds { namespace intrusive { return nullptr; } //@cond - // Deprecated, use contains() template + CDS_DEPRECATED("deprecated, use contains()") value_type * find( Q const& key ) const { return contains( key ); @@ -859,8 +859,8 @@ namespace cds { namespace intrusive { return nullptr; } //@cond - // Deprecated, use contains() template + CDS_DEPRECATED("deprecated, use contains()") value_type * find_with( Q const& key, Less pred ) const { return contains( key, pred ); diff --git a/cds/intrusive/skip_list_rcu.h b/cds/intrusive/skip_list_rcu.h index 42ee12f3..57d420ad 100644 --- a/cds/intrusive/skip_list_rcu.h +++ b/cds/intrusive/skip_list_rcu.h @@ -1528,8 +1528,8 @@ namespace cds { namespace intrusive { return bRet; } //@cond - // Deprecated, use update(). template + CDS_DEPRECATED("ensure() is deprecated, use update()") std::pair ensure( value_type& val, Func func ) { return update( val, func, true ); @@ -1844,8 +1844,8 @@ namespace cds { namespace intrusive { return do_find_with( key, key_comparator(), [](value_type& , Q const& ) {} ); } //@cond - // Deprecated, use contains() template + CDS_DEPRECATED("deprecated, use contains()") bool find( Q const& key ) { return contains( key ); @@ -1865,8 +1865,8 @@ namespace cds { namespace intrusive { return do_find_with( key, cds::opt::details::make_comparator_from_less(), [](value_type& , Q const& ) {} ); } //@cond - // Deprecated, use contains() template + CDS_DEPRECATED("deprecated, use contains()") bool find_with( Q const& key, Less pred ) { return contains( key, pred ); diff --git a/cds/intrusive/split_list.h b/cds/intrusive/split_list.h index a92e004e..8f3853d8 100644 --- a/cds/intrusive/split_list.h +++ b/cds/intrusive/split_list.h @@ -730,8 +730,8 @@ namespace cds { namespace intrusive { return bRet; } //@cond - // Deprecated, use update() template + CDS_DEPRECATED("ensure() is deprecated, use update()") std::pair ensure( value_type& val, Func func ) { return update( val, func, true ); @@ -960,8 +960,8 @@ namespace cds { namespace intrusive { return find_( key, key_comparator() ); } //@cond - // Deprecated, use contains() template + CDS_DEPRECATED("deprecated, use contains()") bool find( Q const& key ) { return contains( key ); @@ -981,8 +981,8 @@ namespace cds { namespace intrusive { return find_( key, typename wrapped_ordered_list::template make_compare_from_less() ); } //@cond - // Deprecated, use contains() template + CDS_DEPRECATED("deprecated, use contains()") bool find_with( Q const& key, Less pred ) { return contains( key, pred ); diff --git a/cds/intrusive/split_list_nogc.h b/cds/intrusive/split_list_nogc.h index b4fdd655..eb0a7e8c 100644 --- a/cds/intrusive/split_list_nogc.h +++ b/cds/intrusive/split_list_nogc.h @@ -355,8 +355,8 @@ namespace cds { namespace intrusive { return std::make_pair( ret.first != end(), ret.second ); } //@cond - // Deprecated, use update() template + CDS_DEPRECATED("ensure() is deprecated, use update()") std::pair ensure( value_type& val, Func func ) { return update( val, func, true ); @@ -381,8 +381,8 @@ namespace cds { namespace intrusive { return &*it; } //@cond - // Deprecated, use contains() template + CDS_DEPRECATED("deprecated, use contains()") value_type * find( Q const& key ) { return contains( key ); @@ -404,8 +404,8 @@ namespace cds { namespace intrusive { return &*it; } //@cond - // Deprecated, use contains() template + CDS_DEPRECATED("deprecated, use contains()") value_type * find_with( Q const& key, Less pred ) { return contains( key, pred ); diff --git a/cds/intrusive/split_list_rcu.h b/cds/intrusive/split_list_rcu.h index cd9415c6..ffbfff3a 100644 --- a/cds/intrusive/split_list_rcu.h +++ b/cds/intrusive/split_list_rcu.h @@ -615,8 +615,8 @@ namespace cds { namespace intrusive { return bRet; } //@cond - // Deprecated, use update() template + CDS_DEPRECATED("ensure() is deprecated, use update()") std::pair ensure( value_type& val, Func func ) { return update( val, func, true ); @@ -858,8 +858,8 @@ namespace cds { namespace intrusive { return find_value( key, key_comparator() ); } //@cond - // Deprecated, use contains() template + CDS_DEPRECATED("deprecated, use contains()") bool find( Q const& key ) { return contains( key ); @@ -879,8 +879,8 @@ namespace cds { namespace intrusive { return find_value( key, typename wrapped_ordered_list::template make_compare_from_less() ); } //@cond - // Deprecated, use contains() template + CDS_DEPRECATED("deprecated, use contains()") bool find_with( Q const& key, Less pred ) { return contains( key, pred );