HashSet.add

Add an element to this set if needed.

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

Parameters

value
Type: T

The value to add to the set.

Meta