TorchCraftAI
A bot for machine learning research on StarCraft: Brood War
Public Member Functions | List of all members
common::LRUCache< K, V > Class Template Reference

#include <language.h>

Public Member Functions

 LRUCache (int n)
 
V * put (K k, std::unique_ptr< V > &&v)
 
V * get (K const &k)
 

Constructor & Destructor Documentation

template<typename K , typename V >
common::LRUCache< K, V >::LRUCache ( int  n)
inline

Member Function Documentation

template<typename K , typename V >
V* common::LRUCache< K, V >::get ( K const &  k)
inline
template<typename K , typename V >
V* common::LRUCache< K, V >::put ( k,
std::unique_ptr< V > &&  v 
)
inline

The documentation for this class was generated from the following file: