The OpenD Programming Language

HashMap.this

Constructs an HashMap 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)
    struct HashMap(K, V, Allocator = Mallocator, alias hashFunction = generateHash!K, bool supportGC = shouldAddGCRange!K || shouldAddGCRange!V, bool storeHash = true)
    static if(stateSize!Allocator != 0)
    this
    (,
    Allocator allocator
    )
  3. this(size_t bucketCount)

Meta