Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

vector::allocator_type

 

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

typedef Allocator allocator_type;

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

Show:
© 2016 Microsoft