The OpenD Programming Language

OpenHashSet.insertAnywhere

Inserts the given item into the set.

import containers.openhashset;
struct OpenHashSet(T, Allocator = Mallocator, alias hashFunction = generateHash!T, bool supportGC = shouldAddGCRange!T)
alias insertAnywhere = insert

Return Value

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

Meta