The OpenD Programming Language

HashSet.this

Constructs a HashSet with an initial bucket count of bucketCount. bucketCount must be a power of two.

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

Meta