Lecture 4 - Slide 16 : 40
Other examples of unique_ptr

We show a couple of additional examples, inspirred from The C++ Prog. Lang. (4. edition)

point.h
The usual class Point - nothing of particular interest.
point.cc
The usual implementation of class Point - nothing of particular interest.
p1.cc
Unique_ptr versus raw pointer.
p2.cc
Passing unique_ptr as parameter to a function.