With C++ STL being updated, will there ever be a set number of containers.
Edit: When it comes to containers, Will there be new addition to the library in addition vectors, lists etc..
随着C ++ STL的更新,是否会有一定数量的容器。编辑:当谈到容器时,除了向量,列表等之外,是否会对库进行新的添加。
2 个解决方案
#1
The proposed C++ Standard (aka C++0x) adds the following templated containers:
建议的C ++标准(又名C ++ 0x)添加了以下模板化容器:
-
array
(rather like a fixed size vector) -
forward_list
(singly-linked list) -
unordered_map
andunordered_multimap
(hash table as dictionary) -
unordered_set
andunordered_multiset
(hash table as set)
数组(相当于固定大小的向量)
forward_list(单链表)
unordered_map和unordered_multimap(哈希表作为字典)
unordered_set和unordered_multiset(设置的哈希表)
#2
You might take a look at Hash tables section of a very good Wikipedia article on C++0x
您可以查看一篇关于C ++ 0x的非常好的*文章的哈希表部分
#1
The proposed C++ Standard (aka C++0x) adds the following templated containers:
建议的C ++标准(又名C ++ 0x)添加了以下模板化容器:
-
array
(rather like a fixed size vector) -
forward_list
(singly-linked list) -
unordered_map
andunordered_multimap
(hash table as dictionary) -
unordered_set
andunordered_multiset
(hash table as set)
数组(相当于固定大小的向量)
forward_list(单链表)
unordered_map和unordered_multimap(哈希表作为字典)
unordered_set和unordered_multiset(设置的哈希表)
#2
You might take a look at Hash tables section of a very good Wikipedia article on C++0x
您可以查看一篇关于C ++ 0x的非常好的*文章的哈希表部分