mohaps / lrucache11

A header only C++11 LRU Cache template class that allows you to define key, value and optionally the Map type. uses a double linked list and a std::unordered_map style container to provide fast insert, delete and update No dependencies other than the C++ standard library. This is a C++11 remake of my earlier LRUCache project (https://github.com/mohaps/lrucache) The goal was to create a fast LRUCache header only library and to avoid any dependencies like boost.
https://github.com/mohaps/lrucache11
294 stars 63 forks source link

Remove NoCopy #11

Closed fiesh closed 7 years ago

fiesh commented 7 years ago

Since in C++11, you can explicitly delete the copy constructor to make a class non-copyable, this is something that is now a deprecated hack I would say

mohaps commented 7 years ago

merged PR by @Quinny that addresses this