operator []= method
- K key,
- V value
Associates the value with the key. Time complexity: O(log N).
Implementation
void operator []=(K key, V value) {
_container[key] = value;
}
Associates the value with the key. Time complexity: O(log N).
void operator []=(K key, V value) {
_container[key] = value;
}