digitalmars.D.learn - references as return value?
Hello! I looked for the possibility to return references like in C++, but I did not find anything. Is it possible to return references in D? If yes, how? If no, why not? Thanks!
Oct 17 2007
coxalan schrieb:Hello! I looked for the possibility to return references like in C++, but I did not find anything. Is it possible to return references in D?NOIf yes, how? If no, why not?Very good questionThanks!D 2 will /probabely/ have support for refrences. Actually you have to use pointers instead. Bjoern
Oct 17 2007