BTree.opIndex

Index the B-Tree by key.

struct BTree(K, V, alias less = "a < b", bool allowDuplicates = false, bool duplicateKeyIsUB = false)
nothrow @nogc ref inout
inout(V)
opIndex
(
K key
)

Return Value

Type: inout(V)

A reference to the value corresponding to this key. In case of duplicate keys, it returns one of the values, in unspecified order.

Meta