From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,YOU_INHERIT autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,5af5c381381ac5a7 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,UTF8 Path: g2news2.google.com!news1.google.com!news.glorb.com!eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Ada requires too much typing! Date: Sun, 06 Jun 2010 11:13:46 +0100 Organization: A noiseless patient Spider Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Date: Sun, 6 Jun 2010 10:13:47 +0000 (UTC) Injection-Info: mx03.eternal-september.org; posting-host="KCXegvZb5vh43D+f3BR6Ew"; logging-data="15013"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+/Gzq+9WwQUAsJljPcB24mKPMiCciHJwA=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (darwin) Cancel-Lock: sha1:n2sFKoJ1I5cWVaVLGhorL5eeeng= sha1:TKh1jRCx9aCna1Yz84EaFYeep0I= Xref: g2news2.google.com comp.lang.ada:12316 Date: 2010-06-06T11:13:46+01:00 List-Id: "Martin Krischik" writes: > One should just > make a habit of defining classes like this: > > virtual Base > { > public: > virtual ~Base () > { > … > } > } > > And suddenly all your virtual inheritance needs work flawlessly. I suppose there must be some cost to doing this? or the language definition would require it to be always so.