Shadowing of members
mist
none at none.none
Wed Jan 16 08:35:29 PST 2013
On Wednesday, 16 January 2013 at 15:49:14 UTC, Jonathan M Davis
wrote:
> On Wednesday, January 16, 2013 13:53:04 mist wrote:
>> Well, that is probably the only thing I hate in Clang :) Also,
>> I
>> can't imagine a single valid use case for unreferenced
>> variables
>> in C/C++, so it is a bit different.
>
> RAII.
>
> - Jonathan M Davis
Have just checked it - clang does not treat variable as unused if
it does have use-defined destructor. Which makes sense from my
understanding of word "unused".
More information about the Digitalmars-d
mailing list