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,f857f366542cd8aa X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!news4.google.com!feeder.news-service.com!news.k-dsl.de!news.uni-stuttgart.de!news.belwue.de!newsfeed.arcor.de!newsspool3.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: Dispatch on the result still does not work? Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH References: <3a2a94a3-91df-411e-b078-498cc7850554@18g2000yqa.googlegroups.com> <7tu7wng4vxn6.nhbegffx941o$.dlg@40tude.net> Date: Sat, 11 Jul 2009 21:29:18 +0200 Message-ID: NNTP-Posting-Date: 11 Jul 2009 21:29:12 CEST NNTP-Posting-Host: 9f57c2e9.newsspool1.arcor-online.net X-Trace: DXC=mb^FiM^`j44RadXUBHgFh3ic==]BZ:af>4Fo<]lROoR1^YC2XCjHcb9hW8AT9f3U`9DNcfSJ;bb[5IRnRBaCd4Ck120TkmY7Q;fW7VRPh76 X-Complaints-To: usenet-abuse@arcor.de Xref: g2news2.google.com comp.lang.ada:6999 Date: 2009-07-11T21:29:12+02:00 List-Id: On Sat, 11 Jul 2009 11:08:55 -0700 (PDT), Hibou57 (Yannick Duch�ne) wrote: > Yes, but how would you initialize a limited type another way, while it > cannot be assigned by copy? I would not. A limited object (actually any object) is to be constructed, by a constructor, which cannot be a function or procedure. (The current solution is like a conceptual Swiss cheese) > This is a mandatory semantic requirement. > But the function still acts as an initializer expression in the user's > view point. It does not return any object in this case. If a function can act as an "initializer", it can also act as the right side of the assignment in a dispatching way. (I am not sure if I really wanted this, just out of curiosity.) -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de