unordered_set::operator==
unordered_set::operator== (비교 연산자)
operator==는 두 정렬되지 않은 집합의 내용이 같은지 비교해요.
출처: cppreference
본문
operator==는 두 std::unordered_set의 내용을 비교해요. 같은 요소 집합을 갖고 있으면 같다고 판단해요.
template< class Key, class Hash, class KeyEqual, class Alloc >
bool operator==( const std::unordered_set<Key,Hash,KeyEqual,Alloc>& lhs,
const std::unordered_set<Key,Hash,KeyEqual,Alloc>& rhs );
반환값 (Return value)
내용이 같으면 true, 그렇지 않으면 false예요.
복잡도 (Complexity)
요소 개수에 선형이에요.