You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

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

C++ is a general purpose programming language based on the C programming language as described in ISO/IEC 9899:1999 Programming languages — C (hereinafter referred to as the C standard ). In addition to the facilities provided by C, C++ provides additional data types, classes, templates, exceptions, namespaces, operator overloading, function name overloading, references, free store management operators, and additional library facilities.

Because C++ is based on the C programming language, there is considerable overlap between the guidelines specified by the CERT C Coding Standard and 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 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++.

The following guidelines from the CERT C Coding Standard do not apply to the CERT C++ Secure Coding Standard:

(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.)

  • No labels