implicit indirection

Carl Sturtivant sturtivant at gmail.com
Mon Nov 18 08:18:25 PST 2013


struct Blah {
   int val;
   Blah* next;
}

Blah x, y;
Blah* p;

p = &x;
p.next = &y; //don't need (*p).next --- very nice

Can someone point me to where this feature of D is documented 
please.


More information about the Digitalmars-d-learn mailing list