News for hackers. Stuff that matters.
Re:Show HN: A header only C++11 LRU Cache template class, wi... by Someone on Tuesday August 30, 2016 @10:47AM (#12390622)
"The reason for the specific implementation is to get constant time removal and remove-add_to_end operations"

http://en.cppreference.com/w/cpp/container/list:

"std::list is a container that supports constant time insertion and removal of elements from anywhere in the container."

'The : private NoCopy is just to block the copy constructors."

But does it need a virtual destructor?

There are no comments on this comment yet.