🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Why allow virtual function calls in constr

#2425
From: Marco Dalla Gasperina
Date: Sat, 04 Nov 1995 09:31
20 lines
1636 bytes
law@solution-frameworks.com wrote:
>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.

If you restrict yourself to "static virtual" functions, you are restricted
to not calling any functions at all.  The construct is an oxymoron.
 
>
>Bill Law

marco
---
[ 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: <47e529$ha8@news.vcd.hp.com>
Path: arc1-ca.pugleaf.net!in2.uu.net!bounce-back
References: <HARALD.95Oct30103929@moon.bion.kth.se> <1995Oct31.171443.3987@oma.com> <9511021143.AA01851@slsv7xt.lts.sel.alcatel.de> <47crlv$139@shellx.best.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!in2.uu.net!bounce-back
Date: 04 Nov 95 09:31:10 GMT
Approved: fjh@cs.mu.oz.au
From: Marco Dalla Gasperina <Marco_Dalla-Gasperina@HP-Vancouver-om1.om.hp.com>
Newsgroups: comp.std.c++
Subject: Re: Why allow virtual function calls in constr
X-Original-Date: 3 Nov 1995 22:28:25 GMT
Organization: Hewlett-Packard Vancouver Site
Message-ID: <47e529$ha8@news.vcd.hp.com>
References: <HARALD.95Oct30103929@moon.bion.kth.se> <1995Oct31.171443.3987@oma.com> <9511021143.AA01851@slsv7xt.lts.sel.alcatel.de> <47crlv$139@shellx.best.com>
X-Mailer: Mozilla 1.1N (Windows; I; 32bit)
X-Auth: PGPMoose V1.1 PGP comp.std.c++
 iQBFAgUBMJsy9OEDnX0m9pzZAQEYhQF8CE5GPoLZj/V2UqQeRjEWEVm//MyZuptj
 /wNftUbDAP0S2EhN/gAqteLDJ9FdD7kD
 =4Sc3