Remove CDS_EMPLACE_SUPPORT macro and unused code
[libcds.git] / cds / container / split_list_map.h
index d033d24cb83f6a3ebab43c0c8b5bd468861d34b0..2e8b2b67973e121f82f7ffa7da39b5f1f3886bc2 100644 (file)
@@ -330,23 +330,17 @@ namespace cds { namespace container {
             return base_class::insert( std::make_pair( key, mapped_type() ), func );
         }
 
-#   ifdef CDS_EMPLACE_SUPPORT
         /// For key \p key inserts data of type \ref mapped_type constructed with <tt>std::forward<Args>(args)...</tt>
         /**
             \p key_type should be constructible from type \p K
 
             Returns \p true if inserting successful, \p false otherwise.
-
-            This function is available only for compiler that supports
-            variadic template and move semantics
         */
         template <typename K, typename... Args>
         bool emplace( K&& key, Args&&... args )
         {
             return base_class::emplace( std::forward<K>(key), std::move(mapped_type(std::forward<Args>(args)...)));
         }
-#   endif
-
 
         /// Ensures that the \p key exists in the map
         /**