init-projects/cpp/includes/Example.hpp

17 lines
388 B
C++

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