top

Gives the top element in the stack.

  value_type& top(){return c.back();}
  const value_type& top() const{return c.back();}
  
Remarks

Returns the value at the top of the stack.