Article View: comp.std.c++
Article #2441Re: Why allow virtual function calls in constr
From: Marco Dalla Gasperina
Date: Tue, 07 Nov 1995 02:34
Date: Tue, 07 Nov 1995 02:34
32 lines
1870 bytes
1870 bytes
law@solution-frameworks.com wrote: >In <47e529$ha8@news.vcd.hp.com>, Marco Dalla Gasperina ><Marco_Dalla-Gasperina@HP-Vancouver-om1.om.hp.com> writes: >>If you restrict yourself to "static virtual" functions, you are restricted >>to not calling any functions at all. The construct is an oxymoron. > >We're talking about the C++ standard here, so the whole thing is a >figment of your imagination. Imagine "static virtual" functions, if you >can. They're no more oxymoronic than, say, member function templates. > >Surely you're not suggesting the concept is self-contradictory? > Have you, in a fit of insanity, sent a love letter to someone that you've only been out with once? Then, about an hour later after you realize what you've done, tried to somehow get the letter out of the mailbox? Well, mia massima cupla. I forgot that you can call a static member through a pointer (although I don't think I've ever used it). Carry one with your regularly scheduled program. >Bill --- [ 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:
<47ldj8$m77@news.vcd.hp.com>Path:
arc1-ca.pugleaf.net!128.32.155.1!mattReferences:
<HARALD.95Oct30103929@moon.bion.kth.se> <1995Oct31.171443.3987@oma.com> <9511021143.AA01851@slsv7xt.lts.sel.alcatel.de> <47crlv$139@shellx.best.com> <47e529$ha8@news.vcd.hp.com> <47kn6r$ca4@shellx.best.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!128.32.155.1!matt 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 Date: 07 Nov 1995 02:34:22 GMT Organization: Hewlett-Packard Vancouver Site Approved: matt@physics2.Berkeley.EDU (Matt Austern) Message-ID: <47ldj8$m77@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> <47e529$ha8@news.vcd.hp.com> <47kn6r$ca4@shellx.best.com> NNTP-Posting-Host: physics2.berkeley.edu