comp.lang.ada
 help / color / mirror / Atom feed
From: "Ehud Lamm" <mslamm@huji.ac.il>
Subject: Re: array of operations
Date: Wed, 11 Sep 2002 12:10:43 +0200
Date: 2002-09-11T12:10:43+02:00	[thread overview]
Message-ID: <aln1n2$sbq$1@news.iucc.ac.il> (raw)
In-Reply-To: 7vfzwh9dkl.fsf@vlinux.voxelvision.no


"Ole-Hjalmar Kristensen" <oleh@vlinux.voxelvision.no> wrote in message
news:7vfzwh9dkl.fsf@vlinux.voxelvision.no...

> Or a pointer to an object and let the dispatching mechanism implement
> the function pointer behind the scenes.

This indeed another useful technique. However, there are some small gotchas.
You can usually use singleton objects, but in many cases you will need
access values so you have to make them "aliased."

By the way, several of these techniques are described in detail in my paper
"Building Frameworks in Ada95", proceedings Ada-Belgium'99 Seminar, Leuven,
1999.

Ehud Lamm





  reply	other threads:[~2002-09-11 10:10 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-10 13:45 array of operations marco
2002-09-10 15:28 ` Mark Biggar
2002-09-10 17:09   ` Ehud Lamm
2002-09-11  7:43     ` Ole-Hjalmar Kristensen
2002-09-11 10:10       ` Ehud Lamm [this message]
2002-09-11 23:43         ` Randy Brukardt
2002-09-12  9:01           ` Ehud Lamm
2002-09-12 14:32             ` Mark Biggar
2002-09-12 16:15               ` John McCabe
2002-09-12 16:37                 ` David C. Hoos
2002-09-12 17:45                   ` John McCabe
2002-09-11  2:17 ` Ted Dennison
replies disabled

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