MT Core (C++)
Core library for replacing C++ standard in project usage
|
Simple bit set iterator that uses next() iteration to return the indices of all set bits. More...
#include <bitset.hpp>
Public Member Functions | |
Optional< size_t > | next () |
Gets the next set bit position (if there is one) | |
Public Attributes | |
const Bitset & | bs |
u64 | curMask |
size_t | curIndex |
Simple bit set iterator that uses next() iteration to return the indices of all set bits.
Definition at line 320 of file bitset.hpp.
|
inline |
Gets the next set bit position (if there is one)
Definition at line 329 of file bitset.hpp.
const Bitset& mtcore::Bitset::SetBitIter::bs |
Definition at line 321 of file bitset.hpp.
size_t mtcore::Bitset::SetBitIter::curIndex |
Definition at line 323 of file bitset.hpp.
u64 mtcore::Bitset::SetBitIter::curMask |
Definition at line 322 of file bitset.hpp.