The OpenD Programming Language

OpenHashSet.this

Initializes the hash set with the given initial capacity.

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

Parameters

initialCapacity size_t

the initial capacity for the hash set

Meta