Passing this to void *

Dukc ajieskola at gmail.com
Wed Nov 22 15:43:50 UTC 2017


On Wednesday, 22 November 2017 at 15:34:53 UTC, Adam D. Ruppe 
wrote:
> No, in both cases, if you do as I say, you will be passing the 
> same address.

I was referring to his version of the main function that used &. 
But yes, if you do a cast instead it works just as you say.




More information about the Digitalmars-d-learn mailing list