shared_ptr: How does "modern" C++ Memory Management work?

แชร์
ฝัง
  • เผยแพร่เมื่อ 10 ก.พ. 2025
  • We build up our own, simple version of std::shared_ptr and std::weak_ptr step by step, and investigate how they work and why they were designed this way. We end on a few practical tips what to do/not to do with them, too.

ความคิดเห็น • 2

  • @matthiaszieger6272
    @matthiaszieger6272 ปีที่แล้ว

    great insights - if anyone of the younger watchers interested, 1979 the work on C++ started, first official version was come to live around 1985 , ISO standardization of the language in 1998, and the features highlighted here took more than another decade...