5 template<
class CloneType>
9 std::shared_ptr<CloneType>
clone() {
10 return std::shared_ptr<CloneType>(
new CloneType(*dynamic_cast<CloneType*>(
this)));
virtual ~Cloneable()
Definition: cloneable.hpp:8
Definition: cloneable.hpp:6
std::shared_ptr< CloneType > clone()
Definition: cloneable.hpp:9