bsl::priority_queue::operator=

Assign to this object the value and comparator of the specified rhs.

Synopsis

Declared in <bslstl_priorityqueue.h>

priority_queue<VALUE, CONTAINER, COMPARATOR>&
operator=(priority_queue const& rhs);

Description

Assign to this object the value and comparator of the specified rhs object and return a reference providing modifiable access to this object.

Return Value

reference providing modifiable access to this object

Parameters

NameDescription
rhspriority queue to copy-assign from