Because this is a development website, many pages are incomplete or contain errors. If you are interested in furthering this effort, please comment on existing items or send recommendations to secure-coding at cert dot org. You can request privileges to directly edit content on the site. If you decide to link to our guidelines, use the Tiny Link under Tools→Link to this Page..., as this URL will not change if the name of the guideline changes.
C++ inherits a host of opportunities for type violations from C and adds a few of its own.
– Bjarne Stroustrup, "A rationale for semantically enhanced library languages"
C++ Coding Guidelines
The CERT C++ Coding Guidelines are split into two sections: C++ Rules and C++ Recommendations.
The C++ Recommendations are focused on nonnormative guidelines which are recommended to follow for secure coding best practices, but may be considered more stylistic in their content. Please create a sign-in account if you are interested in commenting or contributing to these recommendations.
Analyzers
Eliminated Sections
There is no content with the specified labels
Information for Editors
To eliminate a section from the Section Index above, label it section and void.