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)
    ref
    V
    getOrAdd
    (
    K
    V
    )
    (
    ref V[K] aa
    ,
    auto ref K key
    ,
    auto ref V defaultValue
    )
  2. V getOrAdd(V[K] aa, K key)

Meta