The OpenD Programming Language

SimdSet.insert

Inserts the given item into the set.

struct SimdSet(T, Allocator = Mallocator)
bool
insert
()
if (
T.sizeof == 1 ||
T.sizeof == 2
||
T.sizeof == 4
||
T.sizeof == 8
)

Parameters

item T

the item to insert

Return Value

Type: bool

true if the item was inserted or false if it was already present

Meta