Stay organized with collections
Save and categorize content based on your preferences.
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.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-08-06 UTC.
[null,null,["Last updated 2024-08-06 UTC."],[],["The `SetRangeWithCardinality` class in C++ has methods `begin` and `end`, which return a `SetRangeIterator`. The `SetRangeWithCardinality` constructor takes `card` and `max_card` as arguments. The end set is the first set with cardinality `card` that exceeds `max_card` bits. The bit at position `max_card` in this end set is set, along with the (card - 1) rightmost bits.\n"],null,[]]