opAssign() still accepted for classes???

KennyTM~ kennytm at gmail.com
Fri Apr 29 10:29:56 PDT 2011


On Apr 30, 11 01:19, Steven Schveighoffer wrote:
> I think he was referring to the line:
>
> X x = 0;
>
> Where x could not possibly be anything other than null.
>
> -Steve

That's definitely a bug. Why should a declaration call opAssign?


More information about the Digitalmars-d mailing list