implicite deref on array element access? (indexing)

Andrej Mitrovic andrej.mitrovich at gmail.com
Fri Feb 25 07:22:35 PST 2011


This should explain everything:

    auto a = [1,2,3];
    auto pa = &a;
    writeln(&pa);
    writeln(&pa+1);

Do the math!


More information about the Digitalmars-d-learn mailing list