OpenHashSet.insert

Inserts the gien item into the set.

  1. bool insert(T item)
    struct OpenHashSet(T, Allocator = Mallocator, alias hashFunction = generateHash!T, bool supportGC = shouldAddGCRange!T)
    bool
    insert
    ()
  2. bool opOpAssign(T item)

Return Value

Type: bool

true if the item was inserted, false if it was already present.

Meta