Empirical
Classes | Namespaces
GenericFunction.h File Reference

Based on std::function, but with a common base class. More...

#include <functional>
#include "../base/assert.h"

Go to the source code of this file.

Classes

class  emp::GenericFunction
 
class  emp::Function< Ts >
 
class  emp::Function< RETURN(PARAMS...)>
 

Namespaces

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

Detailed Description

Based on std::function, but with a common base class.

Note
This file is part of Empirical, https://github.com/devosoft/Empirical
Date
2017
Note
Status: ALPHA
Todo:
Need to setup Call on emp::GenericFunction to just take a function signature as a template argument, rather than listing all types.