Skip to main content

std::stack pop()

void pop();

Removes an element from the front of the stack.

note

Effectively calls

c.pop_front()

Parameters​

(none)

Return valued​

(none)

Exceptions​

Equivalent to that of pop_front of the underlying container.

Complexity​

Equivalent to that of pop_front of the underlying container.

Example​

important

This section requires improvement. You can help by editing this doc page.

std::stack pop()

void pop();

Removes an element from the front of the stack.

note

Effectively calls

c.pop_front()

Parameters​

(none)

Return valued​

(none)

Exceptions​

Equivalent to that of pop_front of the underlying container.

Complexity​

Equivalent to that of pop_front of the underlying container.

Example​

important

This section requires improvement. You can help by editing this doc page.