Hide menu

TDDD38 Advanced Programming in C++

Exercise Smart pointer


Design, on a fundamental level, of a single, non-trivial class with overloaded operators. Special member functions is one main issue.

The exercise (PDF)

Given code

Solutions

Hint: Replace int with Tracer in smart_pointer, to follow how objects are created, copied, and destroyed.


Page responsible: Christoffer Holm
Last updated: 2018-09-27