The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
SimdSet.contains
containers
simdset
SimdSet
struct
SimdSet
(T, Allocator = Mallocator)
const pure nothrow @
nogc
@
trusted
bool
contains
(
T
item
)
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
Source
See Implementation
containers
simdset
SimdSet
aliases
insertAnywhere
put
constructors
this
functions
contains
insert
length
opBinaryRight
opOpAssign
opSlice
remove