🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

An Extra Virtual Destructor Question to Ponder

#2488
From: john (j.d.) hickin
Date: Thu, 09 Nov 1995 19:27
18 lines
965 bytes
Now that the standard has carefully specified what virtual functions run when
called from constructors/destructors in objects with multiple inheritance it
becomes possible to allow the following:

	class X { public: X(); virtual ~X() = 0; };

Has this been considered?

-- 
John Hickin      Bell-Northern Research, Montreal, Quebec
(514) 765-7924   hickin@bnr.ca


---
[ 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: <47t2s1$ivm@bmtlh10.bnr.ca>
Path: arc1-ca.pugleaf.net!128.32.155.1!matt

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!128.32.155.1!matt
From: "john (j.d.) hickin" <hickin@bnr.ca>
Newsgroups: comp.std.c++
Subject: An Extra Virtual Destructor Question to Ponder
Date: 09 Nov 1995 19:27:55 GMT
Organization: Bell-Northern Research
Approved: matt@physics2.Berkeley.EDU (Matt Austern)
Message-ID: <47t2s1$ivm@bmtlh10.bnr.ca>
NNTP-Posting-Host: physics2.berkeley.edu