MultiLevelHashSet test, bugfixing
[libcds.git] / tests / unit / set2 / set_type_std.h
index d359537b51872b31ae041688819d2166d2cc1a79..fce1bc722e90706d4007555d928b915a150764e2 100644 (file)
@@ -42,7 +42,7 @@ namespace set2 {
         {}
 
         template <typename Key>
-        bool find( const Key& key )
+        bool contains( const Key& key )
         {
             scoped_lock al( m_lock );
             return base_class::find( value_type(key) ) != base_class::end();
@@ -107,6 +107,7 @@ namespace set2 {
         // for testing
         static CDS_CONSTEXPR bool const c_bExtractSupported = false;
         static CDS_CONSTEXPR bool const c_bLoadFactorDepended = false;
+        static CDS_CONSTEXPR bool const c_bEraseExactKey = true;
     };
 
     template <typename Value, typename Less, typename Lock,
@@ -125,7 +126,7 @@ namespace set2 {
         {}
 
         template <typename Key>
-        bool find( const Key& key )
+        bool contains( const Key& key )
         {
             value_type v( key );
             scoped_lock al( m_lock );