Add a new element to the set. Does not add if there is an
equivalent already present. Returns true where an element
is added, false where it already exists
Time complexity: O(1) average; O(n) worst.
booladd(V element)
classHashSet(V, alias Hash = Container.hash, alias Reap = Container.reap, alias Heap = Container.DefaultCollect)
Add a new element to the set. Does not add if there is an equivalent already present. Returns true where an element is added, false where it already exists
Time complexity: O(1) average; O(n) worst.