Cpp Coding Standards/CLSINIT/NoVirt

From Apache OpenOffice Wiki
Jump to: navigation, search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

No Virtuals in Constructor or Destructor (NoVirt)

< Summary

When an object is still in construction or already partly destructed, virtual functions often do not point to the intended override, but to another implementation of that function, or even nowhere. Exact behaviour may be compiler dependent.

Personal tools