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);

Insert the specified item at the back of its priority.

int
pushBack(
    TYPE const& item,
    int itemPriority);

Return Value

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

Parameters

Name

Description

item

move‐insertable item to insert

itemPriority

priority of item (0 is most urgent)

Created with MrDocs