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)
    struct StaticLRUCache(Key, Value, size_t cacheSize)
    pure nothrow @safe @nogc
    Value*
    find
    (
    const Key key
    )
  2. const(Value)* find(Key key)

Meta