cds
2.3.2
|
Metafunction converting option list to iterable_list::traits
.
More...
#include <cds/intrusive/details/iterable_list_base.h>
Public Types | |
typedef implementation_defined | type |
Metafunction result. | |
Metafunction converting option list to iterable_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::node_allocator
- node allocator, default is std::allocator
.opt::back_off
- back-off strategy used. If the option is not specified, the cds::backoff::Default
is used.opt::disposer
- the functor used for disposing removed items. Default is opt::v::empty_disposer
. Due the nature of GC schema the disposer may be called asynchronously.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 (iterable_list::empty_stat
). To enable it use iterable_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).