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: 103376,f5508b044317ceed X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!news.glorb.com!out02b.usenetserver.com!news.usenetserver.com!in04.usenetserver.com!news.usenetserver.com!in03.usenetserver.com!news.usenetserver.com!news-out.readnews.com!postnews3.readnews.com!not-for-mail Date: Thu, 07 Feb 2008 22:31:09 -0500 From: "Peter C. Chapin" User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Question about controlled types. References: <47aa5ca6$0$32487$4d3efbfe@news.sover.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <47abccfb$0$32523$4d3efbfe@news.sover.net> Organization: SoVerNet (sover.net) NNTP-Posting-Host: 85feb0c6.news.sover.net X-Trace: DXC=dX:23<[11f?F]7I\5h`?N0 X-Complaints-To: abuse@sover.net Xref: g2news1.google.com comp.lang.ada:19739 Date: 2008-02-07T22:31:09-05:00 List-Id: Robert A Duff wrote: > Right, the C++ way has the advantage that a single operation can get its > hands on the left- and right-hand sides at the same time. The reason > Ada doesn't have this feature is that we couldn't figure out how to make > it work for records whose discriminants can change. And we couldn't > simply outlaw that case, because it would introduce a violation of the > generic contract model. That's interesting thanks. Peter