From: "amado.alves" <amado.alves@netcabo.pt>
To: <comp.lang.ada@ada-france.org>
Subject: RE: Proposed change to BC iterator parameters [limitedness]
Date: Thu, 11 Dec 2003 16:24:58 -0000
Date: 2003-12-11T16:24:58+00:00 [thread overview]
Message-ID: <mailman.97.1071159913.31149.comp.lang.ada@ada-france.org> (raw)
<<
> I think there are (container) libraries that accept limited element
> types. And some libs that dont can easily (?) be changed in that
> direction. But as I indicated I think it is 'unatural' to store values
> of a limited type. For me it does not make sense to put constants in a
> container. So my advice can only be: rethink your program.
Heh? Limited is not the same thing as constant.>>
I think the original poster wanted limited for logical constants.
<<It makes perfect sense to store limited objects in containers.>>
Not "perfect" to me ;-)
<<*Some* containers require
copying to get the data in and out of the container;>>
Strictly all containers do. The difference is when. At declaration, at elaboration, at run time...
<<... limited components
do not make sense in *that* case. But other containers can deal with
limited types just fine.
Why do you think Ada allows arrays of tasks?>>
I don't know. I would be happy with pointers to tasks or some such. For uniformity. You can have an array of exceptions ids, but not of exceptions.
<<An array is a container,>>
I can say any object is a container. An uni-elementary one.
<<...and tasks are about as limited as you can get!>>
Yes, unfortunately.
next reply other threads:[~2003-12-11 16:24 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-11 16:24 amado.alves [this message]
2003-12-11 16:53 ` Proposed change to BC iterator parameters [limitedness] Robert A Duff
-- strict thread matches above, loose matches on Subject: below --
2003-12-10 19:33 amado.alves
2003-12-10 19:20 amado.alves
2003-12-11 13:10 ` Marin David Condic
2003-12-11 17:59 ` Jeffrey Carter
2003-12-12 5:58 ` Simon Wright
2003-12-10 17:53 amado.alves
2003-12-10 18:47 ` Georg Bauhaus
2003-12-11 15:48 ` Robert A Duff
2003-12-10 13:36 Proposed change to BC iterator parameters amado.alves
2003-12-10 16:47 ` Proposed change to BC iterator parameters [limitedness] Georg Bauhaus
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox