The OpenD Programming Language

StackTreeAA.opIndex

Looks up key in the table, returns it by reference. If it does not exist, it will be created and initialized to V.init. This is handy, for example, when counting things with integer types.

struct StackTreeAA(K, V)
ref
V
opIndex
(
K key
)

Meta