| 72 | IntBitSet(I val) noexcept : m_val{val} {} |
| 73 | /** Dummy type to return using end(). Only used for comparing with Iterator. */ |
| 74 | class IteratorEnd |
| 75 | { |
| 76 | friend class IntBitSet; |
| 77 | constexpr IteratorEnd() = default; |
| 78 | public: |
| 79 | constexpr IteratorEnd(const IteratorEnd&) = default; |
| 80 | }; |
| 81 | /** Iterator type returned by begin(), which efficiently iterates all 1 positions. */ |
| 82 | class Iterator |
| 83 | { |