Remove CDS_EMPLACE_SUPPORT macro and unused code
[libcds.git] / cds / container / split_list_set.h
index ff176fd8b350c908cf9b464422e7e2900dd2da15..cfbe04bdb731c012d12eec89b03dc83a2799edf6 100644 (file)
@@ -192,13 +192,11 @@ namespace cds { namespace container {
 #       endif
         }
 
-#   ifdef CDS_EMPLACE_SUPPORT
         template <typename... Args>
         static node_type * alloc_node( Args&&... args )
         {
             return cxx_node_allocator().MoveNew( std::forward<Args>(args)...);
         }
-#   endif
 
         static void free_node( node_type * pNode )
         {
@@ -483,20 +481,15 @@ namespace cds { namespace container {
             return false;
         }
 
-#   ifdef CDS_EMPLACE_SUPPORT
         /// Inserts data of type \p %value_type constructed with <tt>std::forward<Args>(args)...</tt>
         /**
             Returns \p true if inserting successful, \p false otherwise.
-
-            @note This function is available only for compiler that supports
-            variadic template and move semantics
         */
         template <typename... Args>
         bool emplace( Args&&... args )
         {
             return insert_node( alloc_node( std::forward<Args>(args)...));
         }
-#   endif
 
         /// Ensures that the \p item exists in the set
         /**