Class MEAL::Wrap

template<typename Base>
class Wrap : public Base

Wrap another function.

The evaluation and parameter policies are copied, and the calculate method is implemented with a stub that should never be called.

Public Types

typedef Base::Result Result

The return type of the evaluate method.

Public Functions

inline void wrap(Evaluable<Result> *_model)

Set the function to wrap.