C++ Reference: class SetRangeWithCardinality

Note: This documentation is automatically generated.

Method
begin

Return type: SetRangeIterator<SetRangeWithCardinality>

STL iterator-related methods.

end

Return type: SetRangeIterator<SetRangeWithCardinality>

SetRangeWithCardinality

Arguments: int card, int max_card

The end_ set is the first set with cardinality card, that does not fit in max_card bits. Thus, its bit at position max_card is set, and the rightmost (card - 1) bits are set.