3 #include "set/hdr_intrusive_set.h"
4 #include <cds/intrusive/lazy_list_hrc.h>
5 #include <cds/intrusive/michael_set.h>
9 void IntrusiveHashSetHdrTest::HRC_base_cmp_lazy()
11 typedef base_int_item< ci::lazy_list::node<cds::gc::HRC> > item;
12 typedef ci::LazyList< cds::gc::HRC
14 ,ci::lazy_list::make_traits<
15 ci::opt::hook< ci::lazy_list::base_hook< co::gc<cds::gc::HRC> > >
16 ,co::compare< cmp<item> >
17 ,ci::opt::disposer< faked_disposer >
21 typedef ci::MichaelHashSet< cds::gc::HRC, bucket_type,
22 ci::michael_set::make_traits<
30 void IntrusiveHashSetHdrTest::HRC_base_less_lazy()
32 typedef base_int_item< ci::lazy_list::node<cds::gc::HRC> > item;
33 typedef ci::LazyList< cds::gc::HRC
35 ,ci::lazy_list::make_traits<
36 ci::opt::hook< ci::lazy_list::base_hook< co::gc<cds::gc::HRC> > >
37 ,co::less< less<item> >
38 ,ci::opt::disposer< faked_disposer >
42 typedef ci::MichaelHashSet< cds::gc::HRC, bucket_type,
43 ci::michael_set::make_traits<
51 void IntrusiveHashSetHdrTest::HRC_base_cmpmix_lazy()
53 typedef base_int_item< ci::lazy_list::node<cds::gc::HRC> > item;
54 typedef ci::LazyList< cds::gc::HRC
56 ,ci::lazy_list::make_traits<
57 ci::opt::hook< ci::lazy_list::base_hook< co::gc<cds::gc::HRC> > >
58 ,co::less< less<item> >
59 ,co::compare< cmp<item> >
60 ,ci::opt::disposer< faked_disposer >
64 typedef ci::MichaelHashSet< cds::gc::HRC, bucket_type,
65 ci::michael_set::make_traits<
67 ,co::item_counter< simple_item_counter >