Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

According to the C++ Standard [intro.scope], paragraph 2 [ISO/IEC 14882-2014]:

...

Because C++ is based on the C programming language, there is considerable overlap between the guidelines specified by the CERT C Coding Standard, and the ones those specified by this coding standard. To reduce the amount of duplicated information, this coding standard focuses on the parts of the C++ programming language which that are not wholly covered by the CERT C Coding Standard. Because of C++'s increased focus on types, some rules in C are extended by the CERT C++ Secure Coding Standard. Except where noted, the contents of the CERT C Coding Standard apply equally to code written in C++.

...

(Note, this list is woefully incomplete and serves only as a starting - point. This table should be replaced by a macro which uses the "not-for-cpp" label to gather content from the CERT C Coding Standard automatically.)