std::shared_ptr - A reference counted smart pointer | Modern Cpp Series Ep. 34

Описание к видео std::shared_ptr - A reference counted smart pointer | Modern Cpp Series Ep. 34

►Full C++ Series Playlist:    • The C++ Programming Language  
►Find full courses on: https://courses.mshah.io/
►Join as Member to Support the channel:    / @mikeshah  

►Lesson Description: In this lesson I show you how to use a std::shared_ptr. Shared pointers are the second of three types of smart pointers introduced in C++. They are a wrapper around raw pointers, that allow you to ensure that a resource stays alive while an object points to it. The mechanism for this is by using reference counting, and a special 'control block' does the book keeping for your smart pointers.

►YouTube Channel:    / mikeshah  
►Please like and subscribe to help the channel!

Комментарии

Информация по комментариям в разработке