+1, Thanks Jason
> On Jul 7, 2017, at 1:07 PM, Jason Kenny <jke...@yahoo-inc.com.INVALID> wrote: > > Hi all, > I would suggest we start using > #pragma once > instead of the classic header guard of > #ifndef MYHEADER_H > #define MYHEADER_H > ...#endif //MYHEADER_H > The reason for this is that #pragma once: > 1) is supported on all the compilers and all the platform combination we use > for quite some time now. 2) it is easier to use than trying to deal with > header guards, such as getting the name correct etc..3) the compiler already > can optimize loading of headers better with pragma once, so compile times > will only be faster and safer than before > I suggest we allow the usage on new headers or in a code diff in which we > clean up the code. We can use both at the same time without issue. This is a > very safe and nice change to make > Jason