Empirical
Classes | Namespaces
Cache.h File Reference

similar to an std::unordered_map, but all lookups come with a function to generate the result should the lookup fail. More...

#include <functional>
#include <unordered_map>

Go to the source code of this file.

Classes

class  emp::Cache< KEY, T, HASH, PRED, ALLOC >
 

Namespaces

 emp
 If we are in emscripten, make sure to include the header.
 

Detailed Description

similar to an std::unordered_map, but all lookups come with a function to generate the result should the lookup fail.

Note
This file is part of Empirical, https://github.com/devosoft/Empirical
Date
2016-2018
Note
Status: BETA