operator []= method

void operator []=(
  1. int i,
  2. T v
)

Implementation

void operator []=(int i, T v) {
  value[i] = v;
  notify();
}