On 10/18/2013 10:42 AM, Jonathan M Davis wrote:

> If you want to avoid the problem, then just don't name your local variables
> the same as your member variables

Like OP, when I was bitten by this before, I had not intended to define a local variable. It is too easy for the fingers to drop an unintentional 'auto' in there, and the meaning becomes defining a local variable.

Ali

Reply via email to