DenseSetFilterGrowableArray

Container combining DenseSetFilter with growable array store.

Has O(1) unordered element access via slicing.

For use in graph algorithms with limited index ranges.

TODO better name?

Postblit

this(this)
this(this)
Undocumented in source.

Members

Aliases

ElementType
alias ElementType = E
Undocumented in source.
put
alias put = insert
Undocumented in source.

Functions

clear
void clear()

Clear contents.

contains
bool contains(E e)

Check if element e is stored/contained.

insert
bool insert(E e)

Insert element e.

opBinaryRight
bool opBinaryRight(E e)

Check if element e is stored/contained.

opSlice
auto opSlice()

Non-mutable slicing.

Properties

empty
bool empty [@property getter]

Check if empty.

length
size_t length [@property getter]

Get length.

Meta