Changes between Version 40 and Version 41 of Coding_Conventions


Ignore:
Timestamp:
Nov 10, 2018, 6:29:36 PM (4 months ago)
Author:
elexis
Comment:

restrict nullptr proposal

Legend:

Unmodified
Added
Removed
Modified
  • Coding_Conventions

    v40 v41  
    268268   * Prefer global variables over singletons, because then they're not trying to hide their ugliness.
    269269
    270  * Use `nullptr` instead of `NULL`.
     270 * Use `nullptr` for pointers (instead of `NULL`).
    271271
    272272 * Don't do "`if (p) delete p;`". (That's redundant since "`delete nullptr;`" is safe and does nothing.)