共用方式為


map::mapped_type

A type that represents the data stored in a map.

typedef Type mapped_type;

Remarks

The type mapped_type is a synonym for the class's Type template parameter.

For more information on Type see the map Class topic.

Example

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

Requirements

Header: <map>

Namespace: std

See Also

Reference

map Class

Standard Template Library