STL 笔记(三) 容器适配器 stack、queue、priority_queue

转载:http://blog.csdn.net/thisinnocence/article/details/39673043 栈 stack  栈 stack 是一种先进后出的(First In Last Out, FILO)的数据结构。在 STL中,stack 底层容器默认使用的是deque, 也能够本身指定用 vector 或 list 容器,而后将其接口适配为栈的接口。部分源代码:算法 [c
相关文章
相关标签/搜索