A C++ template class providing a thread-safe LRU cache