Windows apps
Collapse the table of content
Expand the table of content
Information
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.

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

Example

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

Requirements

Header: <map>

Namespace: std

Show:
© 2016 Microsoft