Content deleted Content added
Todd Bezenek (talk | contribs) mNo edit summary |
+most important statement |
||
Line 110:
== Behaviour during construction and destruction ==
Languages differ in their
In C++, the "base" function is called. Specifically, the most derived function that is not more derived than the current constructor's class is called.<ref>{{cite web |title=Never Call Virtual Functions during Construction or Destruction |last=Meyers|first=Scott|date=June 6, 2005 |url=http://www.artima.com/cppsource/nevercall.html}}</ref> If that function is a pure function, then undefined behavior occurs.
|