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

Name

Description

item

item to move into this node

basicAllocator

allocator used to supply memory

Created with MrDocs