Smart Pointers in C++ (Stop Using new?)

Published: 01 May 2023
on channel: Caleb Curry
12,734
508

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


Watch video Smart Pointers in C++ (Stop Using new?) online without registration, duration hours minute second in high quality. This video was added by user Caleb Curry 01 May 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 12,73 once and liked it 50 people.