🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c++
Article #2412

Re: Why allow virtual function calls in constr

#2412
From: law
Date: Fri, 03 Nov 1995 19:39
21 lines
1818 bytes
In <9511021143.AA01851@slsv7xt.lts.sel.alcatel.de>,
kanze <kanze@lts.sel.alcatel.de> writes:
>Also, these functions would presumably not have anyway of knowing that
>the subobjects were only raw memory.  So they would probably use
>functions of the subobjects, with the result that everyday member
>functions end up getting called on raw memory.  Not exactly what I
>would call a healthy state of affairs.

Mr. Kanze,
  Please note that when subject to the limitation of being "static virtual"
functions, as Mr. Winroth alluded to in his posting to which Mr. Martin was
replying, "these functions" would not have any way of calling (non-static) 
member functions, everyday ones or otherwise, and therefore couldn't call
them "on raw memory."  I am interested in what your thoughts on this topic
might be in light of this additional information.  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: <47crlv$139@shellx.best.com>
Path: arc1-ca.pugleaf.net!in1.uu.net!bounce-back
References: <HARALD.95Oct30103929@moon.bion.kth.se> <1995Oct31.171443.3987@oma.com> <9511021143.AA01851@slsv7xt.lts.sel.alcatel.de>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!in1.uu.net!bounce-back
Date: 03 Nov 95 19:39:35 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:42:07 GMT
Organization: Solution Frameworks, San Jose CA
Message-ID: <47crlv$139@shellx.best.com>
References: <HARALD.95Oct30103929@moon.bion.kth.se> <1995Oct31.171443.3987@oma.com> <9511021143.AA01851@slsv7xt.lts.sel.alcatel.de>
Reply-To: law@solution-frameworks.com (Bill Law)
X-Newsreader: IBM NewsReader/2 v1.2
X-Auth: PGPMoose V1.1 PGP comp.std.c++
 iQBFAgUBMJpwF+EDnX0m9pzZAQG9rgF/ZIJMq00XIb8NOtVSKC8EYDf8bt29HxMY
 ptPn7AV29PgpCDJb3W7iS96jjAFTl+oR
 =zGyE