CertC++-OOPΒΆ

Object Oriented Programming

Nested Rules

CertC++-OOP50

Do not invoke virtual functions from constructors or destructors

CertC++-OOP51

Do not slice derived objects

CertC++-OOP52

Do not delete a polymorphic object without a virtual destructor

CertC++-OOP53

Write constructor member initializers in the canonical order

CertC++-OOP54

Gracefully handle self-copy assignment

CertC++-OOP55

Do not use pointer-to-member operators to access nonexistent members

CertC++-OOP57

Prefer special member functions and overloaded operators to C Standard Library functions

CertC++-OOP58

Copy operations must not mutate the source object

Options