HashSet.add

Add an element to this set if needed.

  1. void add(ref T value)
  2. void add(T value)
    struct HashSet(T)
    @safe pure nothrow
    void
    add
    ()
    if (
    isAssignmentCopyable!(Unqual!T)
    )

Parameters

value
Type: T

The value to add to the set.

Meta