comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pogner.demon.co.uk>
Subject: Re: "out" or "access"
Date: 1998/11/03
Date: 1998-11-03T00:00:00+00:00	[thread overview]
Message-ID: <x7vogqobgyd.fsf@pogner.demon.co.uk> (raw)
In-Reply-To: m31znmkgir.fsf@mheaney.ni.net

Matthew Heaney <matthew_heaney@acm.org> writes:

> I'm designing a data structure library --which I've been calling the Ada
> Components Library-- which comprises pluggable units.  You assemble the
> data structure having the space & time characteristics you desire, from
> a simpler set of primitives.  (Sound like our favorite language?)
[..]
> From time-to-time, it's desirable to change the values of the items in
> the data structure, without resorting to inefficient "solutions" like
> copying the original data structure, and changing the source values
> prior to insertion into the target structure.  You just want to change
> the values in place.

Yes, I'm going through the same throes with the Booch Components at
the moment.

Having the ability to change components in place during iteration
causes a whole lot of grief, in the BCs showing up as

generic
  type Item is private;
  type Item_Ptr is access all Item;
package BC.Containers is

yecch




  reply	other threads:[~1998-11-03  0:00 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-10-21  0:00 "out" or "access" =:-) Vincent
1998-10-21  0:00 ` Jeff Carter
1998-10-21  0:00   ` Pat Rogers
1998-10-21  0:00     ` Martin C. Carlisle
1998-10-22  0:00       ` Pat Rogers
1998-10-22  0:00     ` Robert A Duff
1998-10-21  0:00 ` dennison
1998-10-21  0:00 ` Tucker Taft
1998-10-22  0:00   ` Pascal Obry
1998-10-29  0:00     ` Robert A Duff
1998-10-29  0:00       ` Matthew Heaney
1998-10-29  0:00         ` Robert A Duff
1998-10-30  0:00           ` dennison
1998-10-30  0:00             ` Matthew Heaney
1998-10-30  0:00               ` Robert A Duff
1998-10-31  0:00                 ` Matthew Heaney
1998-11-01  0:00                   ` Robert A Duff
1998-11-01  0:00                     ` Matthew Heaney
1998-11-01  0:00                       ` Robert A Duff
1998-11-02  0:00                         ` Matthew Heaney
1998-11-03  0:00                           ` Simon Wright [this message]
1998-11-16  0:00                             ` Matthew Heaney
1998-10-31  0:00                 ` dewar
1998-10-31  0:00                   ` Matthew Heaney
replies disabled

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