PLaSK library
|
Base class for strategy of removing from cache. More...
#include <plask/utils/cache.hpp>
Public Attributes | |
std::map< Key *, ValuePtr > | map |
Cached objects. | |
Base class for strategy of removing from cache.
Subclass should have method: void onEvent(typename Key::Event& evt)
which eventually (depends from event details) removes from map a source of event.
Used by WeakCache and StrongCache.
std::map<Key*, ValuePtr> plask::CacheRemoveStrategyBase< Key, ValuePtr >::map |