The OpenD Programming Language

SimdSet.contains

struct SimdSet(T, Allocator = Mallocator)
const pure nothrow @nogc @trusted
bool
contains
()
if (
T.sizeof == 1 ||
T.sizeof == 2
||
T.sizeof == 4
||
T.sizeof == 8
)

Parameters

item T

the item to check

Return Value

Type: bool

true if the set contains the given item

Meta