3 ms·
Smart pointers should really be like, chapters 2-10. In my experience, every useful C++ application requires wrangling some historic smart pointers implementat
by doctorpangloss 3y ago
Smart pointers should really be like, chapters 2-10.
In my experience, every useful C++ application requires wrangling some historic smart pointers implementation: Boost, Unreal, libwebrtc, Qt.
Even NVIDIA uses its own smart pointers (thrust::device_ptr) though that's understandable. Also there's stuff like this: https://stackoverflow.com/questions/65938991/how-to-use-lambda-with-templated-stdunique-ptr https://stackoverflow.com/questions/65938991/how-to-use-lamb... for e.g. TensorRT.