다음을 통해 공유


<set>

Defines the container template classes set and multiset and their supporting templates.

#include <set>

멤버

연산자

Set version

Multiset version

설명

operator!= (set)

operator!= (multiset)

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

operator< (set)

operator< (multiset)

Tests if the set or multiset object on the left side of the operator is less than the set or multiset object on the right side.

operator<= (set)

operator<= (multiset)

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

operator== (set)

operator== (multiset)

Tests if the set or multiset object on the left side of the operator is equal to the set or multiset object on the right side.

operator> (set)

operator> (multiset)

Tests if the set or multiset object on the left side of the operator is greater than the set or multiset object on the right side.

operator>= (set)

operator>= (multiset)

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

Specialized Template Functions

Set version

Multiset version

설명

swap(set)

swap(multiset)

Exchanges the elements of two sets or multisets.

클래스

set 클래스

Used for the storage and retrieval of data from a collection in which the values of the elements contained are unique and serve as the key values according to which the data is automatically ordered.

multiset 클래스

Used for the storage and retrieval of data from a collection in which the values of the elements contained need not be unique and in which they serve as the key values according to which the data is automatically ordered.

참고 항목

참조

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

표준 템플릿 라이브러리

기타 리소스

<set> 멤버

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