getOrAdd

If key is not in aa, add it with defaultValue. Returns a reference to the value corresponding to key.

  1. V getOrAdd(V[K] aa, K key, V defaultValue)
  2. V getOrAdd(V[K] aa, K key)
    ref
    V
    getOrAdd
    (
    K
    V
    )
    (
    ref V[K] aa
    ,
    auto ref K key
    )

Meta