Getting ready

Scoped pointers are useful when it is important that a reference-counted object (that is in danger of going out of scope) is retained for the duration of the usage.