forked from qt-creator/qt-creator
Coding style: Remove outdated section wrt nullptr
Ealier we state that nullptr should be used, and that is the current policy. Change-Id: Id462458f36893354a4f95e086d25a946f94b495e Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -907,11 +907,6 @@
|
|||||||
Make sure that a class uses \c{override} consistently, either for all overridden functions or
|
Make sure that a class uses \c{override} consistently, either for all overridden functions or
|
||||||
for none.
|
for none.
|
||||||
|
|
||||||
\section3 Nullptr
|
|
||||||
|
|
||||||
All compilers support \c{nullptr}, but there is no consensus on using it. If in doubt, ask
|
|
||||||
the maintainer of the module whether they prefer using \c{nullptr}.
|
|
||||||
|
|
||||||
\section3 Range-Based for-Loop
|
\section3 Range-Based for-Loop
|
||||||
|
|
||||||
You may use range-based for-loops, but beware of the spurious detachment problem.
|
You may use range-based for-loops, but beware of the spurious detachment problem.
|
||||||
|
|||||||
Reference in New Issue
Block a user