FlatMap.opIndex - multiple declarations

Function FlatMap.opIndex

Returns reference of element value with specified key.

ref FlatMap.ValueType opIndex(K) (
  auto scope ref K key
) pure nothrow @nogc @system;

If container doesn't contains value with key key then ValueType.init is created for it.

Examples

TODO

Function FlatMap.opIndex

CopyConstness!(This,.Pair!(const(KeyType),ValueType))[] opIndex(This)() scope @system;