dune-common  2.3.0
interfaces.hh
Go to the documentation of this file.
1 // -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
2 // vi: set et ts=4 sw=2 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