| Lecture 4 - Slide 15 : 40 |
We study the use of raw pointes, unique_ptr, and shared_ptr
These examples are reserved for the exercise session
The usual implementation of class Point - nothing of particular interest. |
Program output. |
Program output. |
A variant of the unique_ptr program |
Program output. |
A variant of the shared_ptr program |
Program output. |
Program output. |