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