|
qb
2.0.0.0
C++17 Actor Framework
|
Iterator for traversing set bits in a CoreIdBitSet. More...
#include <ActorId.h>
Public Types | |
| using | iterator_category = std::forward_iterator_tag |
| using | value_type = CoreId |
| using | difference_type = std::ptrdiff_t |
| using | pointer = const CoreId * |
| using | reference = const CoreId & |
Public Member Functions | |
| iterator (const CoreIdBitSet &set, size_t pos) | |
| Constructs an iterator for a CoreIdBitSet. | |
| CoreId | operator* () const |
| Dereference operator. | |
| iterator & | operator++ () |
| Pre-increment operator. | |
| iterator | operator++ (int) |
| Post-increment operator. | |
| bool | operator== (const iterator &other) const |
| Equality comparison operator. | |
| bool | operator!= (const iterator &other) const |
| Inequality comparison operator. | |
Iterator for traversing set bits in a CoreIdBitSet.
Provides forward iterator functionality for efficiently iterating over the core IDs stored in a CoreIdBitSet. The iterator automatically advances to the next set bit and provides standard iterator operations.
|
inline |
Constructs an iterator for a CoreIdBitSet.
| set | Reference to the CoreIdBitSet to iterate |
| pos | Starting position for iteration |
|
inline |
Dereference operator.
|
inline |
Pre-increment operator.
|
inline |
Post-increment operator.
|
inline |
Equality comparison operator.
| other | Iterator to compare with |
|
inline |
Inequality comparison operator.
| other | Iterator to compare with |