3 ms·
> It exists for both reasons. I believe this is correct. Here's [0] some old Boost documentation on Boost's make_shared which inspired the C++ standard's make_
by MaxBarraclough 5y ago
> It exists for both reasons.
I believe this is correct. Here's [0] some old Boost documentation on Boost's make_shared which inspired the C++ standard's make_shared. It mentions both reasons.
[0] https://www.boost.org/doc/libs/1_67_0/libs/smart_ptr/doc/html/smart_ptr.html#make_shared https://www.boost.org/doc/libs/1_67_0/libs/smart_ptr/doc/htm...