StaticLRUCache.find

Returns a pointer to the cached value if key is in the cache; null otherwise. The pointer may get invalidated by updating the cache. This marks the item as recently used.

  1. Value* find(Key key)
  2. const(Value)* find(Key key)
    struct StaticLRUCache(Key, Value, size_t cacheSize)
    const pure nothrow @safe @nogc
    const(Value)*
    find
    (
    const Key key
    )

Meta