StaticLRUCache.opIndexAssign

Cache value at key. Updates the value if key is already in the cache. This marks the item as recently used.

  1. Value opIndexAssign(Value value, Key key)
    struct StaticLRUCache(Key, Value, size_t cacheSize)
    ref return pure nothrow @safe @nogc
    Value
    opIndexAssign
    (
    Value value
    ,
    Key key
    )
  2. Value opIndexAssign(Func update, Key key)

Meta