From owner-freebsd-hackers Sun Mar 16 14:29:43 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id OAA22939 for hackers-outgoing; Sun, 16 Mar 1997 14:29:43 -0800 (PST) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.50]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id OAA22934 for ; Sun, 16 Mar 1997 14:29:39 -0800 (PST) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id PAA06467; Sun, 16 Mar 1997 15:19:47 -0700 From: Terry Lambert Message-Id: <199703162219.PAA06467@phaeton.artisoft.com> Subject: Re: Barb problem, FOUND To: imp@village.org (Warner Losh) Date: Sun, 16 Mar 1997 15:19:47 -0700 (MST) Cc: terry@lambert.org, hackers@FreeBSD.org In-Reply-To: <199703162219.PAA03645@rover.village.org> from "Warner Losh" at Mar 16, 97 03:19:20 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk > : *ALL* the members are virtual? > : > : Even the constructor, which isn't allowed to be? > > Ummm, the ctor isn't a member function, it is special :-) OK, then I don't know why it's bitching. It's perfectly valid to have a virtual destructor inline: the STL library book does it, so it's an OK thing to do. Yes, I *know* you would generate extra code (if you weren't running ELF or some other agregable object format, or if you were and your linker was stupid as a box of rocks. Personally, I think it's a compiler bug. Regards, Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.