[cmake-developers] Questions about coding conventions
Brad King
brad.king at kitware.com
Fri Jun 10 10:40:12 EDT 2016
On 06/10/2016 10:34 AM, Daniel Pfeifer wrote:
>> May I asked why "this->" is used so often?
>
> If used consistently, it indicates that you are dealing with a member.
> I personally prefer `this->` over `m_`. ...
> you often look at code that does not have semantic highlighting (eg.
> inside diffs).
Yes, and this has been part of our coding convention from the beginning
of CMake.
-Brad
More information about the cmake-developers
mailing list