HashMap.this

Use the given allocator for allocations.

  1. this(Allocator allocator)
    struct HashMap(K, V, Allocator = Mallocator, alias hashFunction = generateHash!K, bool supportGC = shouldAddGCRange!K || shouldAddGCRange!V)
    this
    (
    Allocator allocator
    )
    in { assert (allocator !is null, "Allocator must not be null"); }
  2. this(size_t bucketCount, Allocator allocator)
  3. this(size_t bucketCount)

Meta