template<class Interface, template< class > class Implementation, class T>
class Dune::Functions::Imp::TypeErasureWrapperImplementation< Interface, Implementation, T >
Implementation of the internal wrapper interface.
This class implements the foundation and user interfaces of the internal type erasure wrapper.
The foundation interface of TypeErasureWrapperInterface is directly implemented here whereas the user interface is implemented by deriving from the user-provides Implementation template.
The Implementation is a template taking one class template parameter. It should directly or indirectly derive from this class and inherit its constructors. In order to forward the implemented methods to the erased type it can use the wrapper_ member of this base class being of this type.
- Template Parameters
-
Interface | Class defininig the internal abstract virtual interface |
Implementation | Class defininig implemention the abstract methods of Interface |
T | A type modelleding the desired interface |