forked from qt-creator/qt-creator
Coding style: Prefer "#pragma once" over header guards
It's not even "modern" anymore ;) Change-Id: Id0074f58f6ae669e09168274eab4c3c4ef7359dc Reviewed-by: Marco Bubke <marco.bubke@theqtcompany.com> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
This commit is contained in:
@@ -704,6 +704,8 @@
|
|||||||
\section2 C++ Features
|
\section2 C++ Features
|
||||||
|
|
||||||
\list
|
\list
|
||||||
|
\li Prefer \c {#pragma once} over header guards.
|
||||||
|
|
||||||
\li Do not use exceptions, unless you know what you do.
|
\li Do not use exceptions, unless you know what you do.
|
||||||
|
|
||||||
\li Do not use RTTI (Run-Time Type Information; that is, the typeinfo
|
\li Do not use RTTI (Run-Time Type Information; that is, the typeinfo
|
||||||
|
Reference in New Issue
Block a user