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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,bfcbd34f9610fd42 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!news.glorb.com!feeder.erje.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: "Alex R. Mosteo" Newsgroups: comp.lang.ada Subject: Re: [OT] Ada classwide copy vs C++ clone Followup-To: comp.lang.ada Date: Thu, 07 Jul 2011 16:43:41 +0200 Organization: A noiseless patient Spider Message-ID: References: <1ica1q1kvq6dw$.1vgiru5typ5y$.dlg@40tude.net> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit Injection-Date: Thu, 7 Jul 2011 14:43:42 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="M7rP6jhm1IVgvmYaXQFuIA"; logging-data="7580"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+8M9dk94P8yqpHkP6aq5wS" User-Agent: KNode/4.4.10 Cancel-Lock: sha1:FakNmMXtOatFwxqUQbWAwhHltU8= Xref: g2news1.google.com comp.lang.ada:20119 Date: 2011-07-07T16:43:41+02:00 List-Id: Dmitry A. Kazakov wrote: > On Wed, 06 Jul 2011 18:30:01 +0200, Alex R. Mosteo wrote: > >> So, this is what I'd like to hear confirmed. Am I right? or is there >> something simpler that I'm overlooking? > > AFAIK, no. I created a task in Rosetta Code to illustrate the issue. So > far nobody could solve it in C++ without using clone pattern: > > http://rosettacode.org/wiki/Polymorphic_copy Interesting, I should check this site more often for mi refresher sprees. Alex.