Copy instead of reference?

Dicebot m.strashun at gmail.com
Thu May 23 05:12:24 PDT 2013


On Thursday, 23 May 2013 at 11:57:04 UTC, Namespace wrote:
> I know that D has (sadly) no C++ references, but I still think 
> that
>
> A a = some_existing_A;
>
> should call opAssign.

Actually, it is similar to C++ : http://codepad.org/lkPMU1Ne


More information about the Digitalmars-d-learn mailing list