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: a07f3367d7,bfcbd34f9610fd42 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!usenet-fr.net!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!feeder.news-service.com!94.75.214.39.MISMATCH!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: [OT] Ada classwide copy vs C++ clone Date: Wed, 6 Jul 2011 18:44:12 +0200 Organization: cbb software GmbH Message-ID: <1ica1q1kvq6dw$.1vgiru5typ5y$.dlg@40tude.net> References: Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: twQPQvOQDaMrmNwKry97mQ.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: 40tude_Dialog/2.0.15.1 X-Notice: Filtered by postfilter v. 0.8.2 Xref: g2news1.google.com comp.lang.ada:20097 Date: 2011-07-06T18:44:12+02:00 List-Id: 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 -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de