|
|
using | ThisType = DenseIntegerSet< Start, Ints > |
| |
| template<typename OtherSet > |
| using | unionWith = decltype(unionHelper(OtherSet{})) |
| | Union this set with another. More...
|
| |
| template<typename OtherSet > |
| using | intersectionWith = decltype(intersectHelper(OtherSet{})) |
| | Intersect this set with another. More...
|
| |
| template<typename OtherSet > |
| using | subtract = decltype(subtractHelper(OtherSet{}.template trimToRange< Start, Max >().template padToRange< Start, Max >())) |
| | Subtract another set from this one. More...
|
| |
| template<int I> |
| using | add = decltype(insertHelper< I >()) |
| | Add an element to the set. More...
|
| |
| template<int I> |
| using | remove = decltype(removeHelper< I >()) |
| | Remove an element from the set. More...
|
| |
| template<int X> |
| using | addOffset = decltype(offsetHelper< X >()) |
| | Add a constant offset to all members of the set. More...
|
| |
template<int Start, typename Ints>
class sp::DenseIntegerSet< Start, Ints >
A compile-time set of integers, backed by a bitset.
- Template Parameters
-
| Start | The value represented by the lsb of the first stored int. |
| Ints | An sp::integer_sequence of uint64_t, where each bit represents if the corresponding value is in the set. |