BloombergLP::bdlcc::MultipriorityQueue::pushBack

pushBack overloads

Synopses

Declared in <bdlcc_multipriorityqueue.h>

Insert the specified move-insertable item at the back of its priority.

int
pushBack(
    bslmf::MovableRef<TYPE> item,
    int itemPriority);
» more...

Insert the specified item at the back of its priority.

int
pushBack(
    TYPE const& item,
    int itemPriority);
» more...

Return Value

0 on success, and a non-zero value if the queue is disabled

Parameters

NameDescription
itemmove-insertable item to insert
itemPrioritypriority of item (0 is most urgent)