init-projects/cpp/includes/Example.hpp

17 lines
388 B
C++
Raw Normal View History

2023-09-19 11:39:57 +02:00
#ifndef PROJECT_EXAMPLE_HPP
#define PROJECT_EXAMPLE_HPP 1
#include <iostream>
struct Example {
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-10-10 19:19:45 +02:00
friend std::ostream &operator<<(std::ostream &out, const Example &data);
2023-09-19 11:39:57 +02:00
};
#endif