备注
此头为过时。替代为 <unordered_set>。
定义 hash_set 容器模板类和 hash_multiset 及其支持的模板。
#include <hash_set>
备注
在 Visual C++ .NET 2003 中,和 <hash_map><hash_set> 头文件的成员不再处于 std 命名空间,而是,将 stdext 命名空间。 有关更多信息,请参见 stdext 命名空间。
运算符
Hash_set 版本 |
Hash_multiset 版本 |
说明 |
---|---|---|
测试,如果运算符左侧的 hash_set 或 hash_multiset 对象与右侧的 hash_set 或 hash_multiset 对象不等于。 |
||
测试,如果运算符左侧的 hash_set 或 hash_multiset 对象与右侧的 hash_set 或 hash_multiset 对象相等。 |
专用的函数模板
Hash_set 版本 |
Hash_multiset 版本 |
说明 |
---|---|---|
交换两个 hash_sets 或 hash_multisets 的元素。 |
类
描述可供任何哈希与容器的对象 (hash_map、hash_multimap、hash_set 或用于 hash_multiset - 用作默认 特征 参数对象对和元素对它们包含。 |
|
为数据存储和快速检索。元素包含值的集合的使用和作为唯一的键值。 |
|
为数据存储和快速检索。元素包含值的集合的使用和作为唯一的键值。 |