Re:State of Multicore OCaml [pdf]
by int_19h on Thursday July 12, 2018 @12:32AM
(#17512198)
> C++ developers use shared_ptr almost everywhere
shared_ptr is rare in idiomatic C++ code, and is only used when you actually have a shared object, or need a cyclic data structure with no clearly identified root. I wrote plenty of modern C++ with not a single shared_ptr in it.
shared_ptr is rare in idiomatic C++ code, and is only used when you actually have a shared object, or need a cyclic data structure with no clearly identified root. I wrote plenty of modern C++ with not a single shared_ptr in it.