SSOHashMapOrSet.insert

Insert or replace value at key.

  1. InsertionStatus insert(T element)
  2. InsertionStatus insert(K key, V value)
    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 if(hasValue)
    insert
    (
    K key
    ,)
    if (
    smallBinMinCapacity >= 1
    )

Meta