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

Defined in

Last Updated: 08 January, 2020