stacks栈,定义在<stack>,默认由deque<>实现

Queues队列,定义在<queue>,默认由deque<>实现

priority_queue优先队列,定义在<queue>,元素读取的顺序根据他们的优先级,默认<排序规则,使用堆排序,默认由vector<>实现

以上都可以自定义实现容器,只要提供相应的操作
bitset<>位域,定义在<bitset>中
stacks栈,定义在<stack>,默认由deque<>实现
Queues队列,定义在<queue>,默认由deque<>实现
priority_queue优先队列,定义在<queue>,元素读取的顺序根据他们的优先级,默认<排序规则,使用堆排序,默认由vector<>实现
以上都可以自定义实现容器,只要提供相应的操作
bitset<>位域,定义在<bitset>中
本文标题:Special Containers
本文链接:https://www.haomeiwen.com/subject/piptwttx.html
网友评论