Will D 2.x have refrences

BLS nanali at nospam-wanadoo.fr
Wed Oct 10 10:00:42 PDT 2007


I mean something comparable to :
//C++
int value = 100;
int & rIntRef = value;
if (rIntRef == 100)
   // be ashured my val is 100
rIntref = 101
if (&rIntref == &value)
   // Yes we have the same address

(not parameter passing)
Bjoern



More information about the Digitalmars-d mailing list