pop Method

  • Reduce the length by one.
  • Note that there is no method return value -- use back to get that value before pop()
  • (As with std::vector, separating the pop from the value access eliminates error testing from pop call)

pop(): void

Returns - void

Defined in

Last Updated: 30 November, 2023