init-projects/cpp/includes/Example.hpp

17 lines
395 B
C++

#ifndef PROJECT_EXAMPLE_HPP
#define PROJECT_EXAMPLE_HPP 1
#include <iostream>
class Example {
friend std::ostream &operator<<(std::ostream &out, const Example &data);
public:
Example(); // constructor
virtual ~Example(); // destructor
Example(const Example &); // copy constructor
const Example &operator=(const Example &); // copy assignement
};
#endif