pushBack overloads
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...
0 on success, and a non-zero value if the queue is disabled
| Name | Description |
|---|---|
| item | move-insertable item to insert |
| itemPriority | priority of item (0 is most urgent) |