folly::WeightedEvictingCacheMap::findWithoutPromotion

findWithoutPromotion overloads

Synopses

Declared in <folly/container/WeightedEvictingCacheMap.h>

Same but without LRU promotion.

template<typename K>
iterator
findWithoutPromotion(K const& key);
» more...

Same but without LRU promotion, returning a const iterator.

template<typename K>
const_iterator
findWithoutPromotion(K const& key) const;
» more...

Return Value

  • An iterator to the element, or end() if it does not exist.
  • A const iterator to the element, or end() if it does not exist.

Parameters

NameDescription
keyThe key to search for.