Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.



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 Class topic.


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


Header: <map>

Namespace: std

© 2016 Microsoft