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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC 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,ASCII-7-bit Path: g2news2.google.com!news4.google.com!feeder.news-service.com!feeder.news-service.com!85.214.198.2.MISMATCH!eternal-september.org!.POSTED!not-for-mail From: Colin Paul Gloster Newsgroups: comp.lang.ada Subject: Re: Ada requires too much typing! Date: Mon, 7 Jun 2010 12:04:58 +0000 Organization: A noiseless patient Spider Message-ID: References: Reply-To: Colin Paul Gloster Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Injection-Date: Mon, 7 Jun 2010 11:04:36 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="kheEuXGHhE2Z5eF1gAST+A"; logging-data="27558"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19VzJ4TqCl+9tm2AIRBia5nH3N3948ArDsybRUzE9TIiQ==" User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) In-Reply-To: Cancel-Lock: sha1:AdMgGL2t3LwG/EDEWYCcWwhSWK4= X-X-Sender: Colin_Paul@Bluewhite64.example.net Xref: g2news2.google.com comp.lang.ada:12374 Date: 2010-06-07T12:04:58+00:00 List-Id: On Mon, 7 Jun 2010, Martin Krischik wrote: |--------------------------------------------------------------| |"[..] | | | |[..] Say we have (all lines in different compilation units, so| |no fancy optimizer tricks): | | | |class Parent {public: int x}; | |class Child1: public virtual Parent; | |class Child2 : public virtual Parent; | |class Incest : public virtual Child1, public virtual Child2;| | | |auto Incest* incest = new Incest(); | |auto Child1* child1 = static_cast (incest); | |[..] | | | |[..]" | |--------------------------------------------------------------| Well maybe if there was a nice sibling, ho ho! Oh, I love Usenet.