cpplab/include/misc/memory/smartpointer.h
2020-07-17 08:46:46 +01:00

19 lines
No EOL
350 B
C++

#pragma once
#include <iostream>
class DummyObject {
public:
DummyObject(int); //Constructor
~DummyObject(); //destructor
DummyObject(const DummyObject&); //copy constructor
DummyObject(DummyObject&&); //move constructor
void doSomething();
private:
int size;
int* list_of_numbers;
};