filmov
tv
std::unique_ptr - A scoped smart pointer | Modern Cpp Series Ep. 33
Показать описание
►Lesson Description: In this lesson I show you how to use a std::unique_ptr. I will show you why we might want to use this smart pointer versus a raw pointer, and how to create this pointer. While we haven't covered classes yet in this series, it's important to realize that this smart pointer is essentially a 'wrapper' around a raw pointer that calls the destructor to free memory when the pointer leaves scope.
Note: Something not covered in this lesson is the idea of a 'custom deleter' which can be useful.
►Please like and subscribe to help the channel!
SMART POINTERS in C++ (std::unique_ptr, std::shared_ptr, std::weak_ptr)
std::unique_ptr - A scoped smart pointer | Modern Cpp Series Ep. 33
unique_ptr: C++'s simplest smart pointer
C++: std::unique_ptr (Smart Pointer)
SMART POINTERS in C++ (for beginners in 20 minutes)
Smart Pointers in C++: What, Why, and How with David Millington - CodeRage XI
Implement std::unique_ptr in C++
Modern C++: Upgrade Your Skills with Shared Pointers!
std::shared_ptr - A reference counted smart pointer | Modern Cpp Series Ep. 34
C++ Smart Pointer (unique ptr, shared ptr, weak ptr)
Back to Basics: C++ Smart Pointers - David Olsen - CppCon 2022
C++ Unique Pointer: unique_ptr | Smart pointer tutorial
Smart Pointers in C++ (Stop Using new?)
Smart Pointer C++11 std::unique_ptr [Part-1-Introduction]
Smart Pointers Explained with Code Implementation | MUST know topic for C++ Interview!!
[Eng] C++ smart pointers: shared pointer, unique pointers, weak pointers
C++ From Scratch: std::shared_ptr
std::weak_ptr - A non-owning smart pointer | Modern Cpp Series Ep. 35
C++ Smart Pointers - Usage and Secrets - Nicolai Josuttis
Refs, Scopes and Smart Pointers | Game Engine series
C++ : [core] Smart pointer : unique_ptr
C++ 11 Library: Unique Pointers
Modern C++ - Smart Pointer #3 - Unique Pointer
C++ Crash Course: Smart Pointers
Комментарии