The OpenD Programming Language

OpenHashSet.opOpAssign

Inserts the given item into the set.

struct OpenHashSet(T, Allocator = Mallocator, alias hashFunction = generateHash!T, bool supportGC = shouldAddGCRange!T)
bool
opOpAssign
(
string op
)
()
if (
op == "~"
)

Return Value

Type: bool

true if the item was inserted, false if it was already present.

Meta