VEBroot.insert

The insertion method of the van Emde Boas tree.

struct VEBroot(size_t baseSize)
@nogc pure
bool
insert
(
size_t val
)
if (
(baseSize & (baseSize - 1)) == 0
)

Parameters

val size_t

The key to insert

Return Value

Type: bool

Whether the key was inserted. It is true, when the key was inserted, false otherwise

Meta