Modify Object Pointer during Initialzation

Jeroen Bollen jbinero at gmail.com
Tue Apr 8 07:03:59 PDT 2014


This topic is somewhat related to this question I asked yesterday 
on StackOverflow: http://stackoverflow.com/q/22921395/2558778

Basically, why is this its own variable? Why doesn't D simply use 
the variable it was called with?

https://gist.github.com/Binero/10128826

I don't see why this needs to be a new variable and cannot simply 
be 'passed-by-reference'.


More information about the Digitalmars-d-learn mailing list