STL适配器

适配器(Adapters)--一种用来修饰容器/仿函数/迭代器接口的东西

容器适配器:stacks(基于deque),queues(基于deque),priority queue(基于vector)

仿函数适配器:bind,mem_fn,not1,not2

迭代器适配器:reverse,insert,stream,move

发布了51 篇原创文章 · 获赞 2 · 访问量 860

猜你喜欢

转载自blog.csdn.net/YRC333/article/details/97118819