Re: [RFC] coding style for member variable access

2014-05-21 Thread John Plevyak
I'm with Brian. You need to do this some time with templates and it seems busy to me. However there are probably exceptions... On May 21, 2014 2:31 PM, "Brian Geffon" wrote: > I think this-> is incredibly ugly an unnecessary, what does it really get > us? It will be become convention just as ap

Re: [RFC] coding style for member variable access

2014-05-21 Thread Brian Geffon
I think this-> is incredibly ugly an unnecessary, what does it really get us? It will be become convention just as appending a underscore or adding m_ in front of the name. In my opinion this-> should only be used in situations where you need to disambiguate between variable names and not as a conv

[RFC] coding style for member variable access

2014-05-21 Thread James Peach
Hi all, Leif pointed out that I've been doing this, and now I'd like to propose this as an official style guideline. Within a class member function, access to class members should use the explicit "this->foo" syntax. The rationale for this is that it makes it blindingly obvious that cl