BloombergLP::bdlcc::MultipriorityQueue_Node::MultipriorityQueue_Node

Constructors

Synopses

Declared in <bdlcc_multipriorityqueue.h>

Create a node containing the value of the specified item and having the specified next pointer. item is left in a valid but unspecified state. Use the specified basicAllocator to supply memory. The behavior is undefined unless basicAllocator is non-null.

MultipriorityQueue_Node(
    bslmf::MovableRef<TYPE> item,
    bslma::Allocator* basicAllocator);
» more...

Create a node containing a copy of the specified item and having the specified next pointer. Use the specified basicAllocator to supply memory. The behavior is undefined unless basicAllocator is non-null. Note that item must be copyable and assignable.

MultipriorityQueue_Node(
    TYPE const& item,
    bslma::Allocator* basicAllocator);
» more...