SSOHashMapOrSet.keyRefOf

Get reference to key part of element.

  1. inout(K) keyRefOf(inout(T) element)
  2. inout(K) keyRefOf(inout(T) element)
    struct SSOHashMapOrSet(K, V = void, alias Allocator = null, alias hasher = hashOf, uint smallBinMinCapacity = 1, uint capacityScaleNumerator = 2, uint capacityScaleDenominator = 1)
    pragma(inline) pragma(inline, true) static ref
    static if(!(hasValue))
    inout(K)
    keyRefOf
    ()
    (
    ref return inout(T) element
    )
    if (
    smallBinMinCapacity >= 1
    )

Meta