FlatHashMap.insert

Insert or replace value at key.

  1. InsertionStatus insert(T element)
  2. InsertionStatus insert(K key, V value)
    struct FlatHashMap(K, V = void, alias hasher = hashOf, string keyEqualPred = defaultKeyEqualPredOf!(K), Allocator = Mallocator, bool borrowChecked = false, bool useSmallLinearSearch = true, bool usePrimeCapacity = false)
    static if(hasValue)
    insert
    ()
    (
    K key
    ,)
    if (
    isAllocator!Allocator
    )

Meta