Size and capacityΒΆ

The following table provides information on the members of the concurrent_set and concurrent_multiset template classes.

Member, Description

size_type size() const

Returns: number of elements in the set.

bool empty() const

Returns: size() != 0.

size_type max_size() const

Returns: upper bound on the number of elements that set can hold.