Passing this to void *

Stefan Koch uplink.coder at googlemail.com
Wed Nov 22 15:29:30 UTC 2017


On Wednesday, 22 November 2017 at 15:23:58 UTC, Tim Hsu wrote:
>
> I am afraid what will happen when casting this reference to 
> void *
>

a ref is a ptr.
The cast will produce a ptr which is valid as long as the ref is 
valid.



More information about the Digitalmars-d-learn mailing list