|
libboxes
boxes is a set of specialised containers built on top of STL
|
Eviction policy that never evicts elements. More...
#include <cache.hpp>
Public Member Functions | |
| const K * | elect () |
| Never elects an element for eviction. More... | |
| void | clear () |
| Clears the eviction policy. More... | |
| K & | front () |
| Returns the reference to the first element in the cache. More... | |
| K & | back () |
| Returns the reference to the last element in the cache. More... | |
| Iterator | begin () |
| Returns an iterator to the first element in the cache. More... | |
| Iterator | end () |
| Returns an iterator to the element following the last element in the cache. More... | |
Eviction policy that never evicts elements.
The order of elements in the cache is defined by insertion order.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |