bsl::stack::operator=

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

Synopsis

Declared in <bslstl_stack.h>

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

Description

Assign to this object the value 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
rhsstack whose value is assigned to this object