cds
2.3.2
|
#include <cds/intrusive/details/lazy_list_base.h>
Public Types | |
typedef base_hook | hook |
Hook used. More... | |
typedef opt::none | compare |
Key comparing functor. More... | |
typedef opt::none | less |
Specifies binary predicate used for comparing keys. More... | |
typedef opt::none | equal_to |
Specifies binary functor used for comparing keys for equality (for unordered list only) More... | |
typedef cds::backoff::Default | back_off |
Back-off strategy. | |
typedef opt::v::empty_disposer | disposer |
Disposer for removing items. | |
typedef atomicity::empty_item_counter | item_counter |
Item counting feature; by default, disabled. Use cds::atomicity::item_counter or atomicity::cache_friendly_item_counter to enable item counting. | |
typedef empty_stat | stat |
Internal statistics. More... | |
typedef opt::v::relaxed_ordering | memory_model |
C++ memory ordering model. More... | |
typedef opt::v::rcu_throw_deadlock | rcu_check_deadlock |
RCU deadlock checking policy (only for RCU-based LazyList) More... | |
Static Public Attributes | |
static const bool | sort = true |
Specifies list ordering policy. More... | |
static const opt::link_check_type | link_checker = opt::debug_check_link |
Link fields checking feature. More... | |
LazyList traits.
Key comparing functor.
No default functor is provided. If the functor is not specified, the less
is used.
Specifies binary functor used for comparing keys for equality (for unordered list only)
If equal_to
option is not specified, compare
is used, if compare
is not specified, less
is used, if less
is not specified, then std::equal_to<T>
is used.
Hook used.
Possible values are: lazy_list::base_hook
, lazy_list::member_hook
, lazy_list::traits_hook
.
Specifies binary predicate used for comparing keys.
Default is std::less<T>
.
C++ memory ordering model.
Can be opt::v::relaxed_ordering
(relaxed memory model, the default) or opt::v::sequential_consistent
(sequentially consisnent memory model).
RCU deadlock checking policy (only for RCU-based LazyList)
List of available options see opt::rcu_check_deadlock
Internal statistics.
By default, internal statistics is disabled (lazy_list::empty_stat
). Use lazy_list::stat
to enable it.
|
static |
Link fields checking feature.
Default is opt::debug_check_link
|
static |
Specifies list ordering policy.
If sort
is true
, than list maintains items in sorted order, otherwise the list is unordered. Default is true
. Note that if sort
is false
, than lookup operations scan entire list.