map::allocator_type

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

typedef Allocator allocator_type;

备注

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

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

示例

使用 allocator_type的示例 get_allocator 参见示例。

要求

标头: <map>

命名空间: std

请参见

参考

map Class

标准模板库