SMART POINTERS in C++ (std::unique_ptr, std::shared_ptr, std::weak_ptr)

Patreon ►
Twitter ►
Instagram ►
Discord ►

Series Playlist ►

Thank you to the following Patreon supporters:
– Samuel Egger

Gear I use:
BEST laptop for programming! ►
My FAVOURITE keyboard for programming! ►
FAVOURITE monitors for programming! ►

MAIN Camera ►
MAIN Lens ►
Second Camera ►
Microphone ►

25 thoughts on “SMART POINTERS in C++ (std::unique_ptr, std::shared_ptr, std::weak_ptr)

  1. Maybe I'm just over-correcting to repent for my days using Python for literally everything, but the overhead caused by automatic memory management is too much.

  2. Hey there !
    First of all, thanks a lot for the knowledge you share! Every video of that series is priceless!
    I've learn a lot, and I'm now able to sell my C++ services as a freelancer 🙂

    Just a little question: Do you plan to make a video about exceptions, and more precisely, why you do not use them ?

    In advance, thanks

  3. In case you need to refresh your memory on why you should use pointers.
    "We use pointers because it's easier to give someone an address to your home than to give a copy of your home to everyone".

  4. I like your explanation-style very much. But can you please show more of the code and less of you? No worries your face is fine but I dont want to pause video for every code line

  5. Thank you for Video. I still have a question.
    When u created entity using Shared Pointers. Where did it store in memory? Heap or Stack?

Leave a Reply

Your email address will not be published. Required fields are marked *