Copy instead of reference?

Artur Skawina art.08.09 at gmail.com
Thu May 23 05:23:25 PDT 2013


On 05/23/13 13:57, Namespace wrote:
> I know that D has (sadly) no C++ references, but I still think that
> 
> A a = some_existing_A;
> 
> should call opAssign.

Not opAssign, but user-defined copy-constructor. But D does not have
them either...

artur


More information about the Digitalmars-d-learn mailing list