备注
此 API 已过时。替代为 unordered_multiset 类。
表示 hash_multiset 对象的分配程序类的类型。
typedef list<typename Traits::value_type, typename Traits::allocator_type>::allocator_type allocator_type;
备注
allocator_type 是通过模板参数 Allocator的同义词。
在Visual C++ .NET 2003中,成员<hash_map> 和 <hash_set> 头文件不再在std命名空间,而是已经进入了stdext命名空间。 有关更多信息,请参见 stdext 命名空间。
有关 Allocator的更多信息,请参见 hash_multiset 类的"备注"节。
示例
使用 allocator_type的示例,请参见示例 get_allocator
要求
Header: <hash_set>
**命名空间:**stdext