Notes from C++ static analysis

Adam D. Ruppe destructionator at gmail.com
Wed Jun 26 11:57:46 PDT 2013


On Wednesday, 26 June 2013 at 18:08:10 UTC, bearophile wrote:
> In D this is one case similar to variable shadowing, that the 
> compiler doesn't help you with:
>         this.z = z;

I'd argue that assigning something to itself is never useful.


More information about the Digitalmars-d mailing list