3 ms·
If you know that the pointer is going to be shared, it's more efficient to use `make_shared` as it will use a single allocation for both the object and the cont
by ot 5y ago
If you know that the pointer is going to be shared, it's more efficient to use `make_shared` as it will use a single allocation for both the object and the control block.