The OpenD Programming Language

HashSet.insertAnywhere

Inserts the given item into the set.

import containers.hashset;
struct HashSet(T, Allocator = Mallocator, alias hashFunction = generateHash!T, bool supportGC = shouldAddGCRange!T, bool storeHash = !isBasicType!T)
alias insertAnywhere = insert

Return Value

true if the value was actually inserted, or false if it was already present.

Meta