list::allocator_type

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

typedef Allocator allocator_type;

备注

allocator_type 是模板参数的 **Allocator.**同义词

示例

get_allocator参见示例。

要求

标头: <list>

命名空间: std

请参见

参考

list Class

标准模板库