compiler support added for precise GC

Walter Bright newshound2 at digitalmars.com
Tue Apr 17 10:24:18 PDT 2012


On 4/17/2012 3:31 AM, deadalnix wrote:
> If the data fit into the pointer (ie 32bits or 64bits), you don't need to point
> to data. You can just decide that the pointer IS the data. In other terms :
>
> void* ptr;
> size_t data = cast(size_t) ptr;
>
> Such a size if sufficient for many types.

Yes, that's true.


More information about the Digitalmars-d mailing list