top overloads
Declared in <bslstl_stack.h>
Return a reference to the element at the top of this stack. The behavior is undefined if this stack is empty.
CONTAINER::reference
top();
» more...
Return a reference providing non-modifiable access to the element at the top of this stack. The behavior is undefined if the stack is empty.
CONTAINER::const_reference
top() const;
» more...