vector::allocator_type

一个类型,它代表向量对象的分配器类。

typedef Allocator allocator_type;

备注

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

示例

请参阅 get_allocator 的实例,了解使用 allocator_type 的实例。

要求

标头:<vector>

命名空间: std

请参见

参考

vector 类

标准模板库