cds  2.3.2
cds::intrusive::iterable_list::traits Struct Reference

IterableList traits More...

#include <cds/intrusive/details/iterable_list_base.h>

Public Types

typedef opt::none compare
 Key comparison functor. More...
 
typedef opt::none less
 Specifies binary predicate used for key compare. More...
 
typedef CDS_DEFAULT_ALLOCATOR node_allocator
 Node allocator.
 
typedef cds::backoff::Default back_off
 Back-off strategy.
 
typedef opt::v::empty_disposer disposer
 Disposer for removing items.
 
typedef empty_stat stat
 Internal statistics. More...
 
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 opt::v::relaxed_ordering memory_model
 C++ memory ordering model. More...
 

Detailed Description

IterableList traits

Member Typedef Documentation

◆ compare

Key comparison functor.

No default functor is provided. If the option is not specified, the less is used.

◆ less

Specifies binary predicate used for key compare.

Default is std::less<T>

◆ 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).

◆ stat

Internal statistics.

By default, internal statistics is disabled (iterable_list::empty_stat). Use iterable_list::stat to enable it.


The documentation for this struct was generated from the following file:

cds 2.3.2 Developed by Maxim Khizhinsky aka khizmax and other contributors 2007 - 2017
Autogenerated Sun Dec 31 2017 12:10:43 by Doxygen 1.8.13