add destructor and copy constructor

This commit is contained in:
Mylloon 2023-10-10 16:08:45 +02:00
parent c8880c3dbb
commit c8cef29999
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -4,7 +4,9 @@
#include <iostream>
struct Example {
Example();
Example(); // constructor
Example(const Example &); // copy constructor
virtual ~Example(); // destructor
};
#endif