0/1 уроков (0%)
– из 1
The Price of Shared Pointers or Why Passing Them by Reference Can Be Useful
YouTube·C++Now
Explore the intricacies of shared pointers in modern C++ programming through this comprehensive conference talk. Delve into the often-overlooked costs associated with shared pointers, including the overhead of the control object and the performance impact of synchronization. Learn why counter-intuitive practices, such as passing shared pointers by reference, can be crucial for optimizing performance in critical scenarios. Gain a deeper understanding of the entire lifecycle and implications of shared pointers, equipping yourself with valuable insights to make informed decisions when using this fundamental feature of C++.