HashSet.insert

Inserts the given item into the set.

struct HashSet(T, alias hashFunction = generateHash!T, bool supportGC = shouldAddGCRange!T)
bool
insert
()

Return Value

Type: bool

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

Meta