CacheMap.add

Place an entry into the cache and associate it with the provided key. Note that there can be only one entry for any particular key. If two entries are added with the same key, the second effectively overwrites the first.

Returns true if we added a new entry; false if we just replaced an existing one

class CacheMap(K, V, alias Hash = Container.hash, alias Reap = Container.reap, alias Heap = Container.Collect)
final
bool
add
(
K key
,)

Meta