cds
2.3.2
|
Metafunction converting option list to traits. More...
#include <cds/intrusive/mspriority_queue.h>
Public Types | |
typedef implementation_defined | type |
Metafunction result. | |
Metafunction converting option list to traits.
Options:
opt::buffer
- the buffer type for heap array. Possible type are: opt::v::initialized_static_buffer
, opt::v::initialized_dynamic_buffer
. Default is opt::v::initialized_dynamic_buffer
. You may specify any type of value for the buffer since at instantiation time the buffer::rebind
member metafunction is called to change the type of values stored in the buffer.opt::compare
- priority compare functor. No default functor is provided. If the option is not specified, the opt::less
is used.opt::less
- specifies binary predicate used for priority compare. Default is std::less<T>
.opt::lock_type
- lock type. Default is cds::sync::spin
opt::back_off
- back-off strategy. Default is cds::backoff::yield
opt::stat
- internal statistics. Available types: mspriority_queue::stat
, mspriority_queue::empty_stat
(the default, no overhead)