在线文档教程
C++
容器 | Containers

std::stack::pop

Std::堆栈::POP

void pop(

从堆栈中移除顶部元素。有效呼叫c.pop_back()...

参数

%280%29

返回值

%280%29

复杂性

等于…的复杂性Container::pop_back...

另见

emplace (C++11)constructs element in-place at the top (public member function)
pushinserts element at the top (public member function)
topaccesses the top element (public member function)

© cppreference.com

在CreativeCommonsAttribution下授权-ShareAlike未移植许可v3.0。

http://en.cppreference.com/w/cpp/容器/堆栈/POP