다음을 통해 공유


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 클래스 topic.

예제

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

요구 사항

헤더: <설정>

네임스페이스: std

참고 항목

참조

set 클래스

표준 템플릿 라이브러리