次の方法で共有


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

Concepts

map Class

map Members

Standard Template Library