File lifo_cache.hpp#

namespace caches
template<typename T>
class LIFOCache : public caches::DequeCache<T>

Public Functions

explicit LIFOCache(size_t limit = 100)
virtual T next() const override
virtual T last() const override
virtual void push(T value) override
virtual void pop() override
virtual std::vector<T> slice(size_t width) const override