Learn C++ Online

Introduction to smart pointers

On this page
This lesson contains approximately 14 minutes of video content.

Raw pointers are difficult to love

Introduction to smart pointers

Questions

Q1

QIntro to smart pointers, Q1

This question is ungraded.

We introdcued the following quote in today's lesson. Fill in the blank with the best response:

"  are powerful tools, to be sure, but decades of experience has demonstrated that with only the slightest lapse in concentration or discipline, these tools can turn on their ostensible master." (Scott Myers)

Q2

QIntro to smart pointers, Q2

This question is ungraded.

In today's lesson, we recognized four smart pointers. Which smart pointer is depreciated and should not be used?