ocean v5.1.3 (2019-10-14T07:52:28Z)
Home
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
opIn_r
opIndex
opIndexAssign
rehash
values