comp.lang.ada
 help / color / mirror / Atom feed
From: mheaney@on2.com (Matthew Heaney)
Subject: Re: Charles: Generic_Find
Date: 13 Nov 2002 11:19:32 -0800
Date: 2002-11-13T19:19:32+00:00	[thread overview]
Message-ID: <1ec946d1.0211131119.63e440b5@posting.google.com> (raw)
In-Reply-To: slrnat1er9.rg.randhol+news@kiuk0152.chembio.ntnu.no

Preben Randhol <randhol+news@pvv.org> wrote in message news:<slrnat1er9.rg.randhol+news@kiuk0152.chembio.ntnu.no>...
> Victor Porton wrote:
> > Why Generic_Find is generic? Why not just pass the predicate
> > as a function access? Doing so would avoid the need of
> > generic instantiation. I suggest to change this.
> 
> Doesn't sound to me like a good Ada solution to do that. Sounds more
> like C++

The proper Ada solution is to use generic formal subprogram parameters.



  parent reply	other threads:[~2002-11-13 19:19 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-11 17:16 Charles: Generic_Find Victor Porton
2002-11-12  8:07 ` tmoran
2002-11-12  8:27 ` Preben Randhol
2002-11-12 13:48   ` Hyman Rosen
2002-11-12 14:49     ` Frank J. Lhota
2002-11-13 19:31       ` Matthew Heaney
2002-11-13 19:19   ` Matthew Heaney [this message]
2002-11-14 10:03     ` Preben Randhol
2002-11-13 19:18 ` 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