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,158ce2376534c35d X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!goblin2!goblin.stu.neva.ru!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: Derived private interface Date: Thu, 4 Aug 2011 10:15:26 +0200 Organization: cbb software GmbH Message-ID: <1chce7230ver8.1jzyl45h3bf4c.dlg@40tude.net> References: <27656578-65aa-48b9-9f89-4ebd4e0cb02a@glegroupsg2000goo.googlegroups.com> <82vcve4bqx.fsf@stephe-leake.org> <4e15b223$0$6541$9b4e6d93@newsspool4.arcor-online.net> <1rlxo1uthv5xt.1agapd9q0mek4$.dlg@40tude.net> <1nvqqny2226ro$.1ixvoiht8zu8l$.dlg@40tude.net> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: lB+q5/SCq/u1CtKjDZUBjQ.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:20461 Date: 2011-08-04T10:15:26+02:00 List-Id: On Wed, 3 Aug 2011 15:16:08 -0500, Randy Brukardt wrote: > "Dmitry A. Kazakov" wrote in message > news:nwyetwf3hqn7$.gm3c388p0s3c$.dlg@40tude.net... >> Yes there is some advantage that the function in dispatching constructor is >> primitive: >> >> function Create (...) return T; > > There's another advantage (for this use): the language requires you to > override it, or you get an error. Yes, this is the advantage I had in mind. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de