General use cases for C++ containers(C++ 容器的一般用例)
问题描述
它可以从 nolyc 获得,它是 Freenode 上 ##C++ 的信息机器人,使用命令容器选择"或容器选择".您在回复中收到的此图片链接位于 adrinael.net,这表明我们应该感谢 Freenode 的 ##C++ 社区成员 Adrinael.
What are the general use cases for the C++ standard library containers?
- bitset
- deque
- list
- map
- multimap
- multiset
- priority_queue
- queue
- set
- stack
- vector
For example, a map is generally better for a paired search.
A picture is worth a thousand words.
It's available from nolyc, the informative bot of ##C++ on Freenode, using the command "container choice" or "containerchoice". The link to this picture you receive in response is hosted at adrinael.net, which suggests we should thank Adrinael, member of Freenode's ##C++ community.
这篇关于C++ 容器的一般用例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:C++ 容器的一般用例


- 使用/clr 时出现 LNK2022 错误 2022-01-01
- 近似搜索的工作原理 2021-01-01
- 一起使用 MPI 和 OpenCV 时出现分段错误 2022-01-01
- 与 int by int 相比,为什么执行 float by float 矩阵乘法更快? 2021-01-01
- 静态初始化顺序失败 2022-01-01
- C++ 协变模板 2021-01-01
- Stroustrup 的 Simple_window.h 2022-01-01
- 如何对自定义类的向量使用std::find()? 2022-11-07
- STL 中有 dereference_iterator 吗? 2022-01-01
- 从python回调到c++的选项 2022-11-16