Compartilhar via


map::allocator_type

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

typedef Allocator allocator_type;

Remark

allocator_type is a synonym for the template parameter Allocator.

For more information on Allocator, see the Remarks section of the map Class topic.

Example

See example for get_allocator for an example that uses allocator_type.

Requirements

Header: <map>

Namespace: std

See Also

Reference

map Class

Standard Template Library

Other Resources

map Members