Stack: last out.
A constructor
stack<T> stk; stack<const stack& stk>;
Second, the assignment
stack& operator=(const stack &stk);
3. Data Access
push(ele);
pop();
top();
Fourth, the size of the operation
empty();
size();
Stack: last out.
A constructor
stack<T> stk; stack<const stack& stk>;
Second, the assignment
stack& operator=(const stack &stk);
3. Data Access
push(ele);
pop();
top();
Fourth, the size of the operation
empty();
size();