comp.lang.ada
 help / color / mirror / Atom feed
From: "Peter C. Chapin" <pchapin@sover.net>
Subject: Re: Question about controlled types.
Date: Thu, 07 Feb 2008 22:31:09 -0500
Date: 2008-02-07T22:31:09-05:00	[thread overview]
Message-ID: <47abccfb$0$32523$4d3efbfe@news.sover.net> (raw)
In-Reply-To: <wccprv8loec.fsf@shell01.TheWorld.com>

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



  reply	other threads:[~2008-02-08  3:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-07  1:19 Question about controlled types Peter C. Chapin
2008-02-07  4:54 ` Hyman Rosen
2008-02-07 16:30   ` Robert A Duff
2008-02-08  3:31     ` Peter C. Chapin [this message]
2008-02-08  3:47   ` Peter C. Chapin
2008-02-07 16:47 ` Adam Beneschan
2008-02-08  3:46   ` Peter C. Chapin
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox