Log in
Confluence
Spaces
Hit enter to search
Help
Online Help
Keyboard Shortcuts
Feed Builder
What’s new
About Confluence
Log in
SEI CERT C++ Coding Standard
Edit space details
Pages
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 09. Object Oriented Programming (OOP)
Page Information
Title:
Rule 09. Object Oriented Programming (OOP)
Author:
Aaron Ballman
Sept 30, 2014
Last Changed by:
David Svoboda
Jun 25, 2025
Tiny Link:
(useful for email)
https://wiki.sei.cmu.edu/confluence/x/Ans-BQ
Export As:
Word
·
PDF
Hierarchy
Parent Page
Page:
2 Rules
Children (9)
Page:
OOP50-CPP. Do not invoke virtual functions from constructors or destructors
Page:
OOP51-CPP. Do not slice derived objects
Page:
OOP52-CPP. Do not delete a polymorphic object without a virtual destructor
Page:
OOP53-CPP. Write constructor member initializers in the canonical order
Page:
OOP54-CPP. Gracefully handle self-copy assignment
Page:
OOP55-CPP. Do not use pointer-to-member operators to access nonexistent members
Page:
OOP56-CPP. Honor replacement handler requirements
Page:
OOP57-CPP. Prefer special member functions and overloaded operators to C Standard Library functions
Page:
OOP58-CPP. Copy operations must not mutate the source object
Labels
Global Labels (4)
rule-list
oop
rule
section
Recent Changes
Time
Editor
Jun 25, 2025 13:41
David Svoboda
View Changes
Jun 25, 2025 13:34
David Svoboda
View Changes
Jun 25, 2025 13:28
David Svoboda
View Changes
REM cost reform
Mar 15, 2022 09:45
David Svoboda
View Changes
Nov 14, 2019 15:08
Matthew Churilla
View Page History
Outgoing Links
External Links (3)
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
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 (1)
Home page:
SEI CERT C++ Coding Standard
Overview
Content Tools
{"serverDuration": 61, "requestCorrelationId": "0d0a5c760afcb5d5"}