2023-11-26 00:12:41 +01:00
|
|
|
#pragma once
|
2023-09-19 11:39:57 +02:00
|
|
|
|
|
|
|
#include <iostream>
|
|
|
|
|
2023-10-10 20:23:55 +02:00
|
|
|
class Example {
|
2023-10-10 20:24:40 +02:00
|
|
|
friend std::ostream &operator<<(std::ostream &, const Example &);
|
2023-10-10 20:23:55 +02:00
|
|
|
|
|
|
|
public:
|
2023-10-10 18:14:28 +02:00
|
|
|
Example(); // constructor
|
|
|
|
virtual ~Example(); // destructor
|
|
|
|
|
2023-10-10 19:04:43 +02:00
|
|
|
Example(const Example &); // copy constructor
|
|
|
|
const Example &operator=(const Example &); // copy assignement
|
2023-09-19 11:39:57 +02:00
|
|
|
};
|