stl container adapter
容器适配器:stack, queue, priority_queue
stack
Definition
namespace std {
template <typename T,
typename Container = deque<T>>
class stack;
}
Internal interface
Core interface
push() inserts an element into the stack.
top() returns the next ele
原创
2022-02-07 23:33:56 ·
290 阅读 ·
0 评论