diff options
Diffstat (limited to 'week12/Exercise1/ScientificPaper.cpp')
| -rw-r--r-- | week12/Exercise1/ScientificPaper.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/week12/Exercise1/ScientificPaper.cpp b/week12/Exercise1/ScientificPaper.cpp new file mode 100644 index 0000000..a530bfc --- /dev/null +++ b/week12/Exercise1/ScientificPaper.cpp @@ -0,0 +1,5 @@ +#include "ScientificPaper.h" + +std::ostream& operator<<(std::ostream& ostr, const ScientificPaper& other) { + return ostr << (Publication)other << std::endl << (TextDocument)other; +} |
