comp.lang.ada
 help / color / mirror / Atom feed
From: "Sergey Koshcheyev" <serko84@hotmail.com>
Subject: Re: Re[2]: Limited Type Access - Again
Date: Tue, 30 Oct 2001 08:07:47 +0100
Date: 2001-10-30T08:07:47+01:00	[thread overview]
Message-ID: <9rljk7$1a5r$1@ns.felk.cvut.cz> (raw)
In-Reply-To: mailman.1004394165.6249.comp.lang.ada@ada.eu.org


<ANH_VO@udlp.com> wrote in message
news:mailman.1004394165.6249.comp.lang.ada@ada.eu.org...
> If equality and assignment are allowed in this case, then it is the back
door
> for comparing and assigning objects of limited type such as task type and
> projected type. I think this door should be locked. In addition, comparing
or
> assignment two objects of a task type does not make sense. In fact, the
language
> prohibits two objects of a limited type from being compared or assigned.
This is
> the reason why equality and assignment of a limited type are prohibited.

But you don't compare and assign *objects* in your example, you compare and
assign *pointers* to those objects. Why should the latter not be allowed?

Sergey Koshcheyev.





  parent reply	other threads:[~2001-10-30  7:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-29 20:14 Re[2]: Limited Type Access - Again ANH_VO
2001-10-29 23:02 ` Matthew Heaney
2001-10-30  7:07 ` Sergey Koshcheyev [this message]
2001-10-30 17:10 ` Mark Lundquist
replies disabled

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