Export (0) Print
Expand All

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

Community Additions

ADD
Show:
© 2014 Microsoft