Skip to main content
assistive.skiplink.to.breadcrumbs
assistive.skiplink.to.header.menu
assistive.skiplink.to.action.menu
assistive.skiplink.to.quick.search
Log in
Confluence
Spaces
Hit enter to search
Help
Online Help
Keyboard Shortcuts
Feed Builder
What’s new
Available Gadgets
About Confluence
Log in
SEI CERT C++ Coding Standard
Pages
Boards
Space shortcuts
Dashboard
Secure Coding Home
Android
C
C++
Java
Perl
Page tree
Browse pages
Configure
Space tools
View Page
A
t
tachments (0)
Page History
Page Information
View in Hierarchy
View Source
Export to PDF
Export to Word
Pages
…
SEI CERT C++ Coding Standard
2 Rules
Rule 01. Declarations and Initialization (DCL)
Page Information
Title:
Rule 01. Declarations and Initialization (DCL)
Author:
Aaron Ballman
Sep 30, 2014
Last Changed by:
David Svoboda
Mar 15, 2022
Tiny Link:
(useful for email)
https://wiki.sei.cmu.edu/confluence/x/8no-BQ
Export As:
Word
·
PDF
Hierarchy
Parent Page
Page:
2 Rules
Children (11)
Page:
DCL50-CPP. Do not define a C-style variadic function
Page:
DCL51-CPP. Do not declare or define a reserved identifier
Page:
DCL52-CPP. Never qualify a reference type with const or volatile
Page:
DCL53-CPP. Do not write syntactically ambiguous declarations
Page:
DCL54-CPP. Overload allocation and deallocation functions as a pair in the same scope
Page:
DCL55-CPP. Avoid information leakage when passing a class object across a trust boundary
Page:
DCL56-CPP. Avoid cycles during initialization of static objects
Page:
DCL57-CPP. Do not let exceptions escape from destructors or deallocation functions
Page:
DCL58-CPP. Do not modify the standard namespaces
Page:
DCL59-CPP. Do not define an unnamed namespace in a header file
Show all...
Page:
DCL60-CPP. Obey the one-definition rule
Hide...
Labels
Global Labels (4)
rule-list
rule
dcl
section
Recent Changes
Time
Editor
Mar 15, 2022 09:45
David Svoboda
View Changes
Nov 14, 2019 15:08
Matthew Churilla
View Changes
Dec 03, 2018 15:24
Derek Leung
View Changes
Nov 16, 2017 14:42
Will Snavely
View Changes
Nov 16, 2017 14:22
Will Snavely
View Page History
Outgoing Links
External Links (2)
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
SEI CERT C++ Coding Standard (2)
Page:
Rules from C
Home page:
SEI CERT C++ Coding Standard
Overview
Content Tools
{"serverDuration": 70, "requestCorrelationId": "2919a8ceaf00edca"}