![]() |
---|
此 API 已过时。另一种方法是 unordered_multiset Class。 |
表示 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> 标头文件的成员中不再标准,命名空间,而是将 stdext 命名空间。有关更多信息,请参见 stdext 命名空间。
有关 Allocator的更多信息,请参见 hash_multiset Class的"备注"节。
示例
使用 allocator_type,有关示例的 get_allocator 参见示例
要求
标头: <hash_set>
命名空间: stdext