Precise GC state

Ola Fosheim Grostad ola.fosheim.grostad at gmail.com
Tue Nov 28 04:32:07 UTC 2017


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.




More information about the Digitalmars-d mailing list