iterator to enumerate all indices with set bits in BitSet class or its derivatives More...
#include <MRBitSet.h>
Public Types | |
using | IndexType = typename T::IndexType |
using | iterator_category = std::forward_iterator_tag |
using | value_type = IndexType |
using | difference_type = std::ptrdiff_t |
using | reference = const IndexType |
intentionally not a reference | |
using | pointer = const IndexType * |
Public Member Functions | |
SetBitIteratorT ()=default | |
constructs end iterator | |
SetBitIteratorT (const T &bitset) | |
constructs begin iterator | |
SetBitIteratorT & | operator++ () |
SetBitIteratorT | operator++ (int) |
const T * | bitset () const |
reference | operator* () const |
iterator to enumerate all indices with set bits in BitSet class or its derivatives
using MR::SetBitIteratorT< T >::difference_type = std::ptrdiff_t |
using MR::SetBitIteratorT< T >::IndexType = typename T::IndexType |
using MR::SetBitIteratorT< T >::iterator_category = std::forward_iterator_tag |
using MR::SetBitIteratorT< T >::pointer = const IndexType * |
using MR::SetBitIteratorT< T >::reference = const IndexType |
intentionally not a reference
using MR::SetBitIteratorT< T >::value_type = IndexType |
|
default |
constructs end iterator
|
inline |
constructs begin iterator
|
inlinenodiscard |
|
inlinenodiscard |
|
inline |
|
inlinenodiscard |