The OpenD Programming Language

OpenHashSet.put

Inserts the given item into the set.

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

Return Value

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

Meta