Article View: comp.std.c++
Article #2421Re: Why allow virtual function calls in constr
From: law
Date: Fri, 03 Nov 1995 19:29
Date: Fri, 03 Nov 1995 19:29
17 lines
1591 bytes
1591 bytes
In <1995Oct31.171443.3987@oma.com>, rmartin@oma.com (Robert Martin) writes: >If the rules allowed virtual deployment in constructors or >destructors, then functions could be called in classes where the >members and/or bases had not been initialized, or had been destructed. >And this, IMHO, would be untennable. Mr. Martin, This would not be "untennable" if the derived class functions that could be called were limited to static member functions, as Mr. Winroth proposed. I would appreciate your insights into this matter once you have taken that detail into account. Thank you. Bill Law --- [ comp.std.c++ is moderated. Submission address: std-c++@ncar.ucar.edu. Contact address: std-c++-request@ncar.ucar.edu. The moderation policy is summarized in http://dogbert.lbl.gov/~matt/std-c++/policy.html. ]
Technical Details
Message-ID:
<47cqi8$139@shellx.best.com>Path:
arc1-ca.pugleaf.net!in1.uu.net!bounce-backReferences:
<46kuqc$j45@manuel.anu.edu.au> <46mgqo$e5b@engnews2.Eng.Sun.COM> <9530301.15557@mulga.cs.mu.OZ.AU> <470gvp$i3h@engnews1.eng.sun.com> <HARALD.95Oct30103929@moon.bion.kth.se> <1995Oct31.171443.3987@oma.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!in1.uu.net!bounce-back Date: 03 Nov 95 19:29:39 GMT Approved: fjh@cs.mu.oz.au From: law@solution-frameworks.com Newsgroups: comp.std.c++ Subject: Re: Why allow virtual function calls in constr X-Original-Date: 3 Nov 1995 10:23:04 GMT Organization: Solution Frameworks, San Jose CA Message-ID: <47cqi8$139@shellx.best.com> References: <46kuqc$j45@manuel.anu.edu.au> <46mgqo$e5b@engnews2.Eng.Sun.COM> <9530301.15557@mulga.cs.mu.OZ.AU> <470gvp$i3h@engnews1.eng.sun.com> <HARALD.95Oct30103929@moon.bion.kth.se> <1995Oct31.171443.3987@oma.com> Reply-To: law@solution-frameworks.com (Bill Law) X-Auth: PGPMoose V1.1 PGP comp.std.c++ iQBFAgUBMJptwOEDnX0m9pzZAQHS2AF/eVuV4kpPj3g5otGaKZQVIWjMGL4vgf7H Kw99lgrrZ7Bqs0lItD0bkZeaYAacNuT6 =QEc3