15 #ifndef BORNAGAIN_BASE_TYPES_ICLONEABLE_H
16 #define BORNAGAIN_BASE_TYPES_ICLONEABLE_H
Interface for polymorphic classes that should not be copied, except by explicit cloning.
virtual void transferToCPP()
Used for Python overriding of clone (see swig/tweaks.py)
ICloneable(const ICloneable &)=delete
virtual ICloneable * clone() const =0
ICloneable(ICloneable &&)=default
virtual ~ICloneable()=default