Iterator Access

There are multiple ways to retrieve the State or index on which a BasisIterator is pointing, e.g., *it.

BasisIterator<BasisU1>::state_class danceq::internal::BasisIterator::operator*() const

Dereferencing the state.

Returns:

Copy of state

BasisIterator<BasisU1>::state_class *danceq::internal::BasisIterator::operator->()

Dereferencing the state.

Returns:

Returns Pointer to state

uint64_t danceq::internal::BasisIterator::get_index() const

Returns the index.

Returns:

index