Cpp Coding Standards/CLSINIT/NoVirt
From Apache OpenOffice Wiki
< Cpp Coding Standards | CLSINIT
Revision as of 10:46, 13 April 2007 by Np (talk | contribs) (Cpp Coding Standards/Class Construction, Destruction and Copying/NoVirt moved to Cpp Coding Standards/CLSINIT/NoVirt: simplicity)
No Virtuals in Constructor or Destructor (NoVirt)
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.