Map.opIndexAssign

Adds or updates a mapping from key to val, copying the content of val into the map.

class Map(size_t V, K)
void[]
opIndexAssign
(
void[] val
,
K key
)

Parameters

key K

key to add/update mapping for

val void[]

value to map to

Return Value

Type: void[]

val

In: val.length must be V.

Meta