operator []= method

void operator []=(
  1. K key,
  2. V newVal
)

Implementation

void operator []=(K key, V newVal) {
  value[key] = newVal;
}