Dynalib Utils
ICopyable.h
Go to the documentation of this file.
1 //
2 // Created by Ken Kopelson on 20/10/17.
3 //
4 
5 #ifndef ICOPYABLE_H
6 #define ICOPYABLE_H
7 
8 template <typename T> class ICopyable {
9 public:
10  ICopyable() = default;
11  virtual ~ICopyable() = default;
12  virtual T* copy() = 0;
13 };
14 
15 #endif //ICOPYABLE_H
virtual ~ICopyable()=default
ICopyable()=default
Definition: ICopyable.h:8
virtual T * copy()=0