The OpenD Programming Language

UnrolledList.Iterator

struct UnrolledList(T, Allocator = Mallocator, bool GCRangesAllowed = true)
struct Iterator (
I
) {}

Destructor

A destructor is present on this object, but not explicitly documented in the source.

Postblit

A postblit is present on this object, but not explicitly documented in the source.

Members

Functions

empty
bool empty()

test on emptiness

front
auto front()

return front element of iterator

popFront
void popFront()

pop front element

remove
void remove()

remove current front Item from list +--------------+-----------------------+-----------------+ | this | other | list | | Iter | Iter | | +--------------+-----------------------+-----------------+ | remove list | if points to removed: | free item; | | item; | mark invalid | adjust counters | | do popFront; | else: | | | | adjust everything | | +--------------+-----------------------+-----------------+

reset
void reset()

reset iterator

Meta