PLaSK library
|
Strategy of removing from cache which removes key only when it is deleted. More...
#include <plask/utils/cache.hpp>
Public Member Functions | |
void | onEvent (typename Key::Event &evt) |
If evt is delete event, remove source of event from cache map. | |
Additional Inherited Members | |
Public Attributes inherited from plask::CacheRemoveStrategyBase< Key, ValuePtr > | |
std::map< Key *, ValuePtr > | map |
Cached objects. | |
Strategy of removing from cache which removes key only when it is deleted.
Used by WeakCache and StrongCache.
|
inline |