MarkArray

Convenient array with support for marking of elements for later removal.

Members

Functions

clear
void clear()

Clear the MarkArray.

data
auto data()

Retrieve a slice of the stored data.

doRemoval
void doRemoval()

Remove all items that has been marked.

markForRemoval
void markForRemoval(size_t idx)

Mark index idx for removal.

put
void put(T e)
void put(T[] e)

Store e in the cache.

Meta