std::shared_ptr - A reference counted smart pointer | Modern Cpp Series Ep. 34

Поделиться
HTML-код
  • Опубликовано: 24 ноя 2024

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

  • @grawlixes
    @grawlixes 8 месяцев назад +2

    experiencced dev starting a C++ journey here. managining memory/avoiding memory leaks is the number one thing I'm studying right now and your vids have been really helpful. thanks!

    • @MikeShah
      @MikeShah  8 месяцев назад

      Cheers, happy to hear that 😁

  • @emiliyanrizov4566
    @emiliyanrizov4566 2 года назад +10

    That was definitely a nice explanation. Didn't even realize that the video has only 260 views. You definitely deserve way more. The video quality is nice and the way you present the material is also great.

    • @MikeShah
      @MikeShah  2 года назад +1

      Thank you for the kind words! :)

  • @guilherme5094
    @guilherme5094 Месяц назад +1

    👍Thanks Mike!

  • @mustafaaltay4920
    @mustafaaltay4920 2 года назад +5

    concise and beneficial video with practice

    • @MikeShah
      @MikeShah  2 года назад

      Thank you for the kind words!

  • @Himshu143
    @Himshu143 5 месяцев назад +2

    Thanks 🙏🙏

  • @ieduardoms
    @ieduardoms Год назад +1

    Thank you very much, this video has helped me to better understand Boost Asio.

    • @MikeShah
      @MikeShah  Год назад

      Cheers, thank you for the kind words!

  • @Yuvaraj-pd6ng
    @Yuvaraj-pd6ng 8 месяцев назад +1

    ptr2 constructor will be called once its scope is ended but the static variable count !=1 , so ptr2==NULL if count==1 then delete memory right?

  • @reptilicusrex4748
    @reptilicusrex4748 Год назад +1

    Yet another excellent explainer video by Dr. Shah.

  • @minteligencia
    @minteligencia 9 месяцев назад +1

    Very helpful. thanks!

    • @MikeShah
      @MikeShah  9 месяцев назад

      You are most welcome!

  • @caiyu538
    @caiyu538 11 месяцев назад +1

    👍

  • @dhanushs1802
    @dhanushs1802 2 года назад +2

    Great video. Very neatly explained as always. Thank you.
    Do you have any video about threads and process or any resources that you suggest?

    • @MikeShah
      @MikeShah  2 года назад

      I have a concurrency series here: ruclips.net/p/PLvv0ScY6vfd_ocTP2ZLicgqKnvq50OCXM

  • @VoidloniXaarii
    @VoidloniXaarii Год назад

    This vid was soooooo guuuut ❤❤❤❤

  • @joebosah2727
    @joebosah2727 Год назад

    This is my nth time (5

  • @ijyotir
    @ijyotir Год назад +1

    What are the use case of Raw pointer that cannot be achieved by shared pointer ?

    • @MikeShah
      @MikeShah  Год назад +3

      Interfacing with a C API is the one case, though you can make a decision on what pointer to use. Otherwise internally in data structures to avoid any overhead I use might use raw pointers.

    • @ijyotir
      @ijyotir Год назад +1

      @@MikeShah Thanks and Wish you a Very happy and healthy new year 2023 .

    • @MikeShah
      @MikeShah  Год назад +1

      @@ijyotir Cheers! Same to you!