3 #include "ordered_list/hdr_intrusive_lazy.h"
4 #include <cds/intrusive/lazy_list_hrc.h>
8 void IntrusiveLazyListHeaderTest::HRC_base_cmp()
10 typedef base_int_item< cds::gc::HRC > item;
11 typedef ci::LazyList< cds::gc::HRC
13 ,ci::lazy_list::make_traits<
14 ci::opt::hook< ci::lazy_list::base_hook< co::gc<cds::gc::HRC> > >
15 ,co::compare< cmp<item> >
16 ,ci::opt::disposer< faked_disposer >
21 void IntrusiveLazyListHeaderTest::HRC_base_less()
23 typedef base_int_item< cds::gc::HRC > item;
24 typedef ci::LazyList< cds::gc::HRC
26 ,ci::lazy_list::make_traits<
27 ci::opt::hook< ci::lazy_list::base_hook< co::gc<cds::gc::HRC> > >
28 ,co::less< less<item> >
29 ,ci::opt::disposer< faked_disposer >
34 void IntrusiveLazyListHeaderTest::HRC_base_cmpmix()
36 typedef base_int_item< cds::gc::HRC > item;
37 typedef ci::LazyList< cds::gc::HRC
39 ,ci::lazy_list::make_traits<
40 ci::opt::hook< ci::lazy_list::base_hook< co::gc<cds::gc::HRC> > >
41 ,co::less< less<item> >
42 ,co::compare< cmp<item> >
43 ,ci::opt::disposer< faked_disposer >
48 void IntrusiveLazyListHeaderTest::HRC_base_ic()
50 typedef base_int_item< cds::gc::HRC > item;
51 typedef ci::LazyList< cds::gc::HRC
53 ,ci::lazy_list::make_traits<
54 ci::opt::hook< ci::lazy_list::base_hook< co::gc<cds::gc::HRC> > >
55 ,co::less< less<item> >
56 ,co::compare< cmp<item> >
57 ,ci::opt::disposer< faked_disposer >
58 ,co::item_counter< cds::atomicity::item_counter >