다음을 통해 공유


map::key_type

A type that describes the sort key stored in each element of the map.

typedef Key key_type;

설명

key_type is a synonym for the template parameter Key.

For more information on Key, see the Remarks section of the map 클래스 topic.

예제

See example for value_type for an example of how to declare and use key_type.

요구 사항

헤더: <맵>

네임스페이스: std

참고 항목

참조

map 클래스

표준 템플릿 라이브러리