X-Git-Url: http://plrg.eecs.uci.edu/git/?p=libcds.git;a=blobdiff_plain;f=cds%2Fintrusive%2Fimpl%2Fiterable_list.h;h=ccc50be6d1f7ea0f97d5a53373f3da31517ac3e8;hp=169496dfb853a3b8bc7620c4254f681974150b84;hb=f31988b031453d7fdf7fe212f966554fa558af3e;hpb=f3edf94e7ee02b802cdc1f052e2bb5c8edd0e84e diff --git a/cds/intrusive/impl/iterable_list.h b/cds/intrusive/impl/iterable_list.h index 169496df..ccc50be6 100644 --- a/cds/intrusive/impl/iterable_list.h +++ b/cds/intrusive/impl/iterable_list.h @@ -662,17 +662,10 @@ namespace cds { namespace intrusive { If \p key is not found the function returns \p end(). */ template - iterator find( Q& key ) const - { - return find_iterator_at( m_pHead, key, key_comparator()); - } - //@cond - template iterator find( Q const& key ) const { - return find_iterator_at( m_pHead, key, key_comparator() ); + return find_iterator_at( m_pHead, key, key_comparator()); } - //@endcond /// Finds the \p key using \p pred predicate for searching /** @@ -705,19 +698,11 @@ namespace cds { namespace intrusive { If \p key is not found the function returns \p end(). */ template - iterator find_with( Q& key, Less pred ) const - { - CDS_UNUSED( pred ); - return find_iterator_at( m_pHead, key, cds::opt::details::make_comparator_from_less()); - } - //@cond - template iterator find_with( Q const& key, Less pred ) const { CDS_UNUSED( pred ); return find_iterator_at( m_pHead, key, cds::opt::details::make_comparator_from_less()); } - //@endcond /// Checks whether the list contains \p key /**