added tests for intrusive hooks not derived from the default hooks

This commit is contained in:
Matei David
2014-04-28 20:08:24 -04:00
parent fc6d3cca5f
commit 60c6f40336
17 changed files with 273 additions and 1 deletions
+12
View File
@@ -66,6 +66,9 @@ struct hooks
, store_hash<true>
, optimize_multikey<true>
> auto_member_hook_type;
typedef nonhook_node_member< unordered_node_traits< VoidPointer, true, true >,
unordered_algorithms
> nonhook_node_member_type;
};
static const std::size_t BucketSize = 8;
@@ -657,6 +660,15 @@ class test_main_template
, false
, incremental
>::test_all(data);
test_unordered_set < nonhook_node_member_value_traits< value_type,
typename hooks<VoidPointer>::nonhook_node_member_type,
&value_type::nhn_member_,
safe_link
>,
false,
false,
incremental
>::test_all(data);
return 0;
}