hash_multimap::allocator_type

说明说明

此 API 已过时。另一种方法是 unordered_multimap Class

表示 hash_multimap 对象的分配器选件类的类型。

typedef list<typename Traits::value_type, typename Traits::allocator_type>::allocator_type allocator_type;

备注

allocator_type 是模板参数的 Allocator同义词。

有关 Allocator的更多信息,请参见 hash_multimap Class 主题的"备注"节。

在 Visual C++ .NET 2003 中,<hash_map><hash_set> 标头文件的成员中不再标准,命名空间,而是将 stdext 命名空间。有关更多信息,请参见 stdext 命名空间

示例

使用 allocator_type,有关示例的 get_allocator 参见示例。

要求

标头: <hash_map>

命名空间: stdext

请参见

参考

hash_multimap Class

标准模板库