Compartilhar via


vector::allocator_type

A type that represents the allocator class for the vector object.

typedef Allocator allocator_type;

Remarks

allocator_type is a synonym for the template parameter Allocator.

Example

See the example for get_allocator for an example that uses allocator_type.

Requirements

Header: <vector>

Namespace: std

See Also

Reference

vector Class

Standard Template Library