set::allocator_type
The document is archived and information here might be outdated

set::allocator_type

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

typedef Allocator allocator_type;

allocator_type is a synonym for the template parameter Allocator.

Returns the function object that a multiset uses to order its elements, which is the template parameter Allocator.

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

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

Header: <set>

Namespace: std

Show:
© 2016 Microsoft