On Monday, 27 November 2017 at 18:32:39 UTC, Ola Fosheim Grøstad wrote:
You get this:

shared_ptr -> control_block -> object


Actually, seems like the common implementation uses 16 bytes, so that it has a direct pointer as well. So twice the size of unique_ptr.


Reply via email to