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< std::tuple< size_t, size_t > > | next () |
Gets the next set bit position (if there is one) | |
Public Attributes | |
const Bitset2D & | 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 745 of file bitset.hpp.
|
inline |
Gets the next set bit position (if there is one)
Definition at line 754 of file bitset.hpp.
const Bitset2D& mtcore::Bitset2D::SetBitIter::bs |
Definition at line 746 of file bitset.hpp.
size_t mtcore::Bitset2D::SetBitIter::curIndex |
Definition at line 748 of file bitset.hpp.
u64 mtcore::Bitset2D::SetBitIter::curMask |
Definition at line 747 of file bitset.hpp.