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



Patreon ► https://patreon.com/thecherno
Twitter ► https://twitter.com/thecherno
Instagram ► https://instagram.com/thecherno
Discord ► https://thecherno.com/discord

Series Playlist ► https://www.youtube.com/playlist?list=PLlrATfBNZ98dudnM48yfGUldqGD0S4FFb

Thank you to the following Patreon supporters:
– Samuel Egger

Gear I use:
—————–
BEST laptop for programming! ► http://geni.us/pakTES
My FAVOURITE keyboard for programming! ► http://geni.us/zNhB
FAVOURITE monitors for programming! ► http://geni.us/Ig6KBq

MAIN Camera ► http://geni.us/t6xyDRO
MAIN Lens ► http://geni.us/xGoDWT
Second Camera ► http://geni.us/CYUQ
Microphone ► http://geni.us/wqO6g7K

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 *