Share via


<map>

Defines the container template classes map and multimap and their supporting templates.

#include <map>

멤버

연산자

Map version

Multimap version

설명

operator!= (map)

operator!= (multimap)

Tests if the map or multimap object on the left side of the operator is not equal to the map or multimap object on the right side.

operator< (map)

operator< (multimap)

Tests if the map or multimap object on the left side of the operator is less than the map or multimap object on the right side.

operator<= (map)

operator<= (multimap)

Tests if the map or multimap object on the left side of the operator is less than or equal to the map or multimap object on the right side.

operator== (map)

operator== (multimap)

Tests if the map or multimap object on the left side of the operator is equal to the map or multimap object on the right side.

operator> (map)

operator> (multimap)

Tests if the map or multimap object on the left side of the operator is greater than the map or multimap object on the right side.

operator>= (map)

operator>= (multimap)

Tests if the map or multimap object on the left side of the operator is greater than or equal to the map or multimap object on the right side.

Specialized Template Functions

Map version

Multimap version

설명

swap (map)

swap (multimap)

Exchanges the elements of two maps or multimaps.

클래스

value_compare Class

Provides a function object that can compare the elements of a map by comparing the values of their keys to determine their relative order in the map.

map Class

Used for the storage and retrieval of data from a collection in which the each of the elements has a unique key with which the data is automatically ordered.

multimap Class

Used for the storage and retrieval of data from a collection in which the each of the elements has a key with which the data is automatically ordered and the keys do not need to have unique values.

참고 항목

참조

C++ 표준 라이브러리의 스레드 보안

표준 템플릿 라이브러리

기타 리소스

<map> 멤버

C++ 표준 라이브러리 헤더 파일