Changes between Version 76 and Version 77 of CodingGuidelines


Ignore:
Timestamp:
Sep 22, 2017, 1:02:34 PM (2 months ago)
Author:
fdupont
Comment:

Added sizeof(bool) do not use.

Legend:

Unmodified
Added
Removed
Modified
  • CodingGuidelines

    v76 v77  
    296296int& int_ref;
    297297}}}
     298
     299== Sizeof of bool ==
     300
     301The C++ standard does not require that {{{sizeof(bool)}}} is one: it is compiler dependent!
     302So it should not be used and {{{sizeof(uint8_t)}}} is recommended instead.
    298303
    299304== Comments ==