HashSet.remove

Remove an element from this set if present.

  1. bool remove(ref T value)
    struct HashSet(T)
    @nogc @safe pure nothrow
    bool
    remove
    (
    ref T value
    )
    if (
    isAssignmentCopyable!(Unqual!T)
    )
  2. bool remove(T value)

Parameters

value
Type: T

The value to remove from the set.

Return Value

Type: bool

true if a value was removed.

Meta