dune-common  2.2.1
interfaces.hh
Go to the documentation of this file.
1 // -*- tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*-
2 // vi: set ts=8 sw=2 et sts=2:
3 #ifndef DUNE_INTERFACES_HH
4 #define DUNE_INTERFACES_HH
5 
11 namespace Dune {
12 
14  struct Cloneable {
15 
21  virtual Cloneable* clone() const = 0;
22 
24  virtual ~Cloneable()
25  {}
26 
27  };
28 
29 } // end namespace Dune
30 #endif