in C++ if you define any one of the special functions (constructor, destructor, copy constructor, move constructor) you need to define all the special member functions.
class DummyClass{
private:
int* data = nullptr;
public:
DummyClass(int v) : data(new int(v)){}; // constructor
~DummyClass() {delete data;}; //desstructor
DummyClass(const DummyClass& other) = delete; //copy constructor
DummyClass& operator=(const DummyClass&) = delete; //copy assigment operator
DummyClass(DummyClass&& other) = delete; // move constructor
DummyClass& operator=(DummyClass&& other) = delete; // move assignment operator
};