3#ifndef DUNE_FUNCTIONS_COMMON_INTERFACES_HH
4#define DUNE_FUNCTIONS_COMMON_INTERFACES_HH
23template<
class Interface>
40 virtual Interface*
clone()
const = 0;
51 virtual Interface*
clone(
void* buffer)
const = 0;
62 virtual Interface*
move(
void* buffer) = 0;
Definition: polynomial.hh:10
Base class with polymorphic type boiler plate code.
Definition: interfaces.hh:25
virtual Interface * clone(void *buffer) const =0
Clones the object into buffer.
virtual Interface * clone() const =0
Clones the object.
virtual Interface * move(void *buffer)=0
Move object into buffer.
virtual ~PolymorphicType()
Destructor.
Definition: interfaces.hh:29