cds  2.3.3
cds::intrusive::mspriority_queue::traits Struct Reference

MSPriorityQueue traits. More...

#include <cds/intrusive/mspriority_queue.h>

Inheritance diagram for cds::intrusive::mspriority_queue::traits:
cds::container::mspriority_queue::traits

Public Types

typedef opt::v::initialized_dynamic_buffer< void * > buffer
 Storage type. More...
 
typedef opt::none compare
 Priority compare functor. More...
 
typedef opt::none less
 Specifies binary predicate used for priority comparing. More...
 
typedef cds::sync::spin lock_type
 Type of mutual-exclusion lock. The lock is not need to be recursive.
 
typedef backoff::Default back_off
 Back-off strategy.
 
typedef empty_stat stat
 Internal statistics. More...
 

Detailed Description

Member Typedef Documentation

Storage type.

The storage type for the heap array. Default is cds::opt::v::initialized_dynamic_buffer.

You may specify any type of buffer's value since at instantiation time the buffer::rebind member metafunction is called to change type of values stored in the buffer.

Priority compare functor.

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

Specifies binary predicate used for priority comparing.

Default is std::less<T>.

Internal statistics.

Possible types: mspriority_queue::empty_stat (the default, no overhead), mspriority_queue::stat or any other with interface like mspriority_queue::stat


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

cds 2.3.3 Developed by Maxim Khizhinsky aka khizmax and other contributors 2007 - 2017
Autogenerated Sun Apr 5 2026 09:49:57 by Doxygen 1.8.10