The OpenD Programming Language

OpenHashSet.insert

Inserts the given item into the set.

struct OpenHashSet(T, Allocator = Mallocator, alias hashFunction = generateHash!T, bool supportGC = shouldAddGCRange!T)
bool
insert
()

Return Value

Type: bool

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

Meta