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

Поделиться
HTML-код
  • Опубликовано: 16 июл 2024
  • Start your software dev career - calcur.tech/dev-fundamentals Be notified of new C/C++ course: 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) - 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) - calcur.tech/free-react-course
    ✅ Data Structures & Algorithms - calcur.tech/dsa-youtube
    ~~~~~~~~~~~~~~~ CONNECT ~~~~~~~~~~~~~~~
    ✉️ Newsletter - calcur.tech/newsletter
    📸 Instagram - / calebcurry
    🐦 Twitter - / calebcurry
    🔗 LinkedIn - / calebcurry
    ▶️ Subscribe - calcur.tech/subscribe
    👨🏻‍🎓 Courses - www.codebreakthrough.com
    ~~~~~~~~~~~~~~ SUPPORT ME ~~~~~~~~~~~~~~
    ↪ My Amazon Store - www.amazon.com/shop/calebcurry
    🅿 Patreon - calcur.tech/patreon-calebcurry
    🅖 GitHub Sponsors - github.com/sponsors/CalebCurry
    Ⓟ Paypal - paypal.me/calcur
  • НаукаНаука

Комментарии • 33