comp.lang.ada
 help / color / mirror / Atom feed
From: dweller@dfw.net (David Weller)
Subject: Re: Translate this into Ada ...
Date: 1996/08/21
Date: 1996-08-21T00:00:00+00:00	[thread overview]
Message-ID: <4vf26s$h4m@dfw.dfw.net> (raw)
In-Reply-To: 3219E6E2.2F5@eurocontrol.fr


In article <3219E6E2.2F5@eurocontrol.fr>,
Richard Irvine  <Richard.Irvine@eurocontrol.fr> wrote:
>How using generics, abstract types (e.g. AbstractList and
>AbstractIterator), 
>abstract subprograms or any other Ada features can this decision be
>expressed? 
>
>I have struggled with this for quite some time without finding a
>satisfactory
>solution. Any suggestions gratefully received.

Take a look at the sources for the Ada 95 Booch Conponents at
http://www.ocsystems.com/booch.  I know the existing material there is
out of date, and there will be an update in about a month (promise!),
but it can give you an idea on how to approach the problem.

Your approach seems similar to the approach used for the C++ STL,
which is OK, but the Booch Components will give you a different feel
for the implementation of iterators.

-- 
    Visit the Ada 95 Booch Components Homepage: www.ocsystems.com/booch
           This is not your father's Ada -- lglwww.epfl.ch/Ada




  parent reply	other threads:[~1996-08-21  0:00 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-08-20  0:00 Translate this into Ada Richard Irvine
1996-08-21  0:00 ` Norman H. Cohen
1996-08-22  0:00   ` Richard Irvine
1996-08-22  0:00     ` Richard Irvine
1996-08-22  0:00     ` Norman H. Cohen
1996-08-29  0:00   ` Robert A Duff
1996-08-21  0:00 ` David Weller [this message]
  -- strict thread matches above, loose matches on Subject: below --
1996-08-21  0:00 Spasmo
1996-08-21  0:00 ` Richard Irvine
1996-08-28  0:00   ` Robert A Duff
replies disabled

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