Udostępnij za pośrednictwem


set::allocator_type

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

typedef Allocator allocator_type;

Remarks

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.

Example

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

Requirements

Header: <set>

Namespace: std

See Also

Reference

set Class

Standard Template Library

Other Resources

set Members