Class MEAL::Convert

template<typename From, typename To>
class Convert : public To

Convert a function to another type.

The parameter policy is copied and a smart pointer is managed.

Subclassed by MEAL::UnaryConvert< From, To, Method >

Public Functions

inline void set_model(From *_model)

Set the function to be converted.

inline From *get_model()

Get the function to be converted.

inline const From *get_model() const

Get the function to be converted.

inline bool has_model() const

Return true if the function to be converted has been set.