cds
2.3.2
|
#include <cds/container/details/michael_list_base.h>
Public Types | |
typedef implementation_defined | type |
Metafunction result. | |
};
/ Metafunction converting option list to michael_list::traits
/** Supported Options
are:
opt::compare
- key comparison functor. No default functor is provided. If the option is not specified, the opt::less
is used.opt::less
- specifies binary predicate used for key comparison. Default is std::less<T>
.opt::allocator
- an allocator, default is CDS_DEFAULT_ALLOCATOR
opt::back_off
- back-off strategy used. If the option is not specified, the cds::backoff::Default
is used.opt::item_counter
- the type of item counting feature. Default is disabled (atomicity::empty_item_counter
). To enable item counting use atomicity::item_counter
or atomicity::cache_friendly_item_counter
opt::stat
- internal statistics. By default, it is disabled (michael_list::empty_stat
). To enable it use michael_list::stat
opt::memory_model
- C++ memory ordering model. Can be opt::v::relaxed_ordering
(relaxed memory model, the default) or opt::v::sequential_consistent
(sequentially consistent memory model).opt::rcu_check_deadlock
- a deadlock checking policy for RCU-based MichaelList Default is opt::v::rcu_throw_deadlock