StaticLRUCache.opIndex

Returns the cached value if key is in the cache; throws otherwise. This marks the item as recently used.

struct StaticLRUCache(Key, Value, size_t cacheSize)
alias opIndex = get

Throws

StaticLRUCacheMiss if key is not in the cache.

Meta