ocean ~v6.x.x (2022-01-14T16:08:36.1174149)
Dub
Repo
TwoWayMap.opIndexAssign
ocean
core
SmartEnum
TwoWayMap
Undocumented in source.
void
opIndexAssign
(KeyType a, ValueType b)
void
opIndexAssign
(ValueType b, KeyType a)
struct
TwoWayMap
(A)
void
opIndexAssign
(
ValueType
b
,
KeyType
a
)
out { assert (this.a_to_index[a] < this.keys_list.length); assert (this.b_to_index[b] < this.values_list.length); }
Meta
Source
See Implementation
ocean
core
SmartEnum
TwoWayMap
aliases
KeyType
ValueType
functions
indexOf
keys
length
opApply
opAssign
opBinaryRight
opIndex
opIndexAssign
rehash
values