Renaming map member function insert_key() to insert_with()
[libcds.git] / cds / container / michael_kvlist_rcu.h
index 7545e48c7fcb0b0b1f8086f4e209b1da3072591c..4733f99998b4f5efd6fddce992ce9a55a954325e 100644 (file)
@@ -385,9 +385,9 @@ namespace cds { namespace container {
             @warning See \ref cds_intrusive_item_creating "insert item troubleshooting"
         */
         template <typename K, typename Func>
-        bool insert_key( const K& key, Func func )
+        bool insert_with( const K& key, Func func )
         {
-            return insert_key_at( head(), key, func );
+            return insert_with_at( head(), key, func );
         }
 
         /// Ensures that the \p key exists in the list
@@ -739,7 +739,7 @@ namespace cds { namespace container {
         }
 
         template <typename K, typename Func>
-        bool insert_key_at( head_type& refHead, const K& key, Func f )
+        bool insert_with_at( head_type& refHead, const K& key, Func f )
         {
             scoped_node_ptr pNode( alloc_node( key ));