|
cds
2.3.2
|
Metafunction converting option list to lazy_list::traits.
More...
#include <cds/intrusive/details/lazy_list_base.h>
Public Types | |
| typedef implementation_defined | type |
| Metafunction result. | |
Metafunction converting option list to lazy_list::traits.
Supported Options are:
opt::hook - hook used. Possible values are: lazy_list::base_hook, lazy_list::member_hook, lazy_list::traits_hook. If the option is not specified, lazy_list::base_hook and gc::HP is used.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::equal_to - specifies binary functor for comparing keys for equality. This option is applicable only for unordered list. If equal_to is not specified, compare is used, compare is not specified, less is used.opt::sort - specifies ordering policy. Default value is true, i.e. the list is ordered. Note: unordering feature is not fully supported yet.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 dispose removed items. Default is opt::v::empty_disposer. Due the nature of GC schema the disposer may be called asynchronously.opt::link_checker - the type of node's link fields checking. Default is opt::debug_check_link 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 (lazy_list::empty_stat). To enable it use lazy_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 consisnent memory model).opt::rcu_check_deadlock - a deadlock checking policy for RCU-based MichaelList Default is opt::v::rcu_throw_deadlock