overload << operator for debugging
This commit is contained in:
parent
387511e750
commit
db2cb996ac
1 changed files with 2 additions and 0 deletions
|
@ -9,6 +9,8 @@ struct Example {
|
|||
|
||||
Example(const Example &); // copy constructor
|
||||
const Example &operator=(const Example &); // copy assignement
|
||||
|
||||
friend std::ostream &operator<<(std::ostream &out, const Example &data);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue