references and function calls
Neal Becker
ndbecker2 at gmail.com
Fri Mar 16 03:54:00 PDT 2007
I've been reading the D specification. A couple of questions:
1. Do I understand correctly that D has no reference type declarations
(there is no e.b., int& x;)?
2. Reading the section on functions, unfortunately I don't think it is clear
on how arguments are passed. Do I understand correctly that argument
passing is like java: POD are passed by value but other objects (class
instances) are passed by reference?
More information about the Digitalmars-d-learn
mailing list