overload << operator for debugging

This commit is contained in:
Mylloon 2023-10-10 19:19:45 +02:00
parent 387511e750
commit db2cb996ac
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -9,6 +9,8 @@ struct Example {
Example(const Example &); // copy constructor Example(const Example &); // copy constructor
const Example &operator=(const Example &); // copy assignement const Example &operator=(const Example &); // copy assignement
friend std::ostream &operator<<(std::ostream &out, const Example &data);
}; };
#endif #endif