filmov
tv
Smart Pointers in C++: Raw vs Unique Pointers

Показать описание
In this video I demonstrate that, unlike a raw pointer, when using a smart pointer the destructor is called when the pointer goes out of scope.
0:33 - Writing a function that returns an object pointer
0:50 - Writing a function that returns a unique pointer
1:26 - A raw pointer to an object
2:40 - A unique pointer to an object
0:33 - Writing a function that returns an object pointer
0:50 - Writing a function that returns a unique pointer
1:26 - A raw pointer to an object
2:40 - A unique pointer to an object
SMART POINTERS in C++ (std::unique_ptr, std::shared_ptr, std::weak_ptr)
are 'smart pointers' actually smart?
Back to Basics: C++ Smart Pointers - David Olsen - CppCon 2022
Smart Pointers in C++: Raw vs Unique Pointers
C++ Smart Pointers
SMART POINTERS in C++ (for beginners in 20 minutes)
C++Now 2019: Matthew Fleming “An Alternate Smart Pointer Hierarchy”
The Smart Pointers I Wish I Had - Matthew Fleming - CppCon 2019
unique_ptr: C++'s simplest smart pointer
WHEN POINTERS ARE TOO RAW...USE SMART POINTERS (C++)
CppCon 2014: Lightning Talks - Michael VanLoon 'Anatomy of a Smart Pointer'
Smart Pointers Explained with Code Implementation | MUST know topic for C++ Interview!!
Memory allocation with raw and smart pointers
Understanding Smart Pointers: What Happens When Raw Pointers Go Out of Scope?
CppCon 2019: Arthur O'Dwyer “Back to Basics: Smart Pointers”
Dive into C++11 - [4] - Smart pointers
Performance of Smart Pointers vs Raw Pointers in C++ Containers
SMART POINTERS! As Fast As Possible! #coding #programming #cplusplus #cpp #developer #softwaredev
Back to Basics: Smart Pointers - Rainer Grimm - CppCon 2020
Say Goodbye to Memory Leaks with C++ Smart Pointers! #softwareengineer
103 - Smart pointers in c++
Smart Pointers in C++
Intro to Raw Pointers
C++ Smart Pointers - Do I really need them? When?
Комментарии