...

/

Smart Pointers: Introduction

Smart Pointers: Introduction

This lesson will introduce you to smart pointers in Modern C++.

Introduction

Smart pointers are one of the most important additions to C++ because they enable you to implement explicit memory management in C++. Beyond the deprecated std::auto_ptr, C++ offers three different smart pointers. They are defined in the header <memory> ...