FlatMap.opIndex

Returns reference of element value with specified key.

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

  1. ValueType opIndex(K key)
    struct FlatMap
    ref return pure nothrow @system @nogc
    opIndex
    (
    K
    )
    (
    scope auto ref K key
    )
  2. CopyConstness!(This, .Pair!(const KeyType, ValueType))[] opIndex()

Examples

TODO

Meta