BloombergLP::bdlcc::MultipriorityQueue_Node::MultipriorityQueue_Node

Create a node by moving from the specified item.

Synopsis

Declared in <bdlcc_multipriorityqueue.h>

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

Description

Create a node containing the value of the specified item. 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.

Parameters

NameDescription
itemitem to move into this node
basicAllocatorallocator used to supply memory