OpenHashSet.this

Initializes the hash set with the given initial capacity.

  1. this()
  2. this(Allocator allocator)
  3. this(size_t initialCapacity, Allocator allocator)
    struct OpenHashSet(T, Allocator = Mallocator, alias hashFunction = generateHash!T, bool supportGC = shouldAddGCRange!T)
    this
    (,
    Allocator allocator
    )
  4. this(size_t initialCapacity)

Parameters

initialCapacity size_t

the initial capacity for the hash set

Meta