Smart Pointers in C++ (Stop Using new?)
Caleb Curry Caleb Curry
616K subscribers
9,678 views
0

 Published On May 1, 2023

Start your software dev career - https://calcur.tech/dev-fundamentals Be notified of new C/C++ course: https://calcur.tech/c-cpp-newsletter
Smart pointers can be a complicated subject, especially because there are multiple types! In this video we will talk about when you should use a smart pointer, and how each type works.

💯 FREE Courses (100+ hours) - https://calcur.tech/all-in-ones

Timestamps:
00:00 - Intro
00:45 - Old School Pointers
02:00 - When do you Need Pointers
03:53 - use New
05:27 - Shared Pointers
07:30 - Other Smart Pointers
08:56 - Unique Pointer
09:39 - Smart Pointer Functions
11:45 - Weak Pointers
13:17 - Dereferencing a Weak Pointer
14:57 - Circular Reference
15:46 - Review

⚛️ FREE React Course (20 hours) - https://calcur.tech/free-react-course

✅ Data Structures & Algorithms - https://calcur.tech/dsa-youtube

~~~~~~~~~~~~~~~ CONNECT ~~~~~~~~~~~~~~~

✉️ Newsletter - https://calcur.tech/newsletter
📸 Instagram -   / calebcurry  
🐦 Twitter -   / calebcurry  
🔗 LinkedIn -   / calebcurry  
▶️ Subscribe - http://calcur.tech/subscribe
👨🏻‍🎓 Courses - https://www.codebreakthrough.com

~~~~~~~~~~~~~~ SUPPORT ME ~~~~~~~~~~~~~~

↪ My Amazon Store - https://www.amazon.com/shop/calebcurry
🅿 Patreon - http://calcur.tech/patreon-calebcurry
🅖 GitHub Sponsors - https://github.com/sponsors/CalebCurry
Ⓟ Paypal - http://paypal.me/calcur

show more

Share/Embed