表示映射对象的分配器选件类的类型。
typedef Allocator allocator_type;
备注
allocator_type 是模板参数的 Allocator同义词。
有关 Allocator的更多信息,请参见 map Class 主题的"备注"节。
示例
使用 allocator_type的示例 get_allocator 参见示例。
要求
标头: <map>
命名空间: std
表示映射对象的分配器选件类的类型。
typedef Allocator allocator_type;
allocator_type 是模板参数的 Allocator同义词。
有关 Allocator的更多信息,请参见 map Class 主题的"备注"节。
使用 allocator_type的示例 get_allocator 参见示例。
标头: <map>
命名空间: std