operator []= method

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

Associates the value with the key.

Implementation

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