cloneable.hh

Go to the documentation of this file.
1 
6 #ifndef cloneable_hh
7 #define cloneable_hh
8 
9 namespace concepts {
10 
16  class Cloneable {
17  public:
21  virtual Cloneable* clone() const = 0;
22  virtual ~Cloneable() {}
23  };
24 
25 } // namespace concepts
26 
27 #endif // cloneable_hh
virtual Cloneable * clone() const =0
Virtual constructor.
Cloneable interface.
Definition: cloneable.hh:16
virtual ~Cloneable()
Definition: cloneable.hh:22
Basic namespace for Concepts-2.
Definition: pml_formula.h:16
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich