comp.lang.ada
 help / color / mirror / Atom feed
From: xorque <xorquewasp@googlemail.com>
Subject: Re: Runtime type selection
Date: Sun, 11 Oct 2009 10:15:42 -0700 (PDT)
Date: 2009-10-11T10:15:42-07:00	[thread overview]
Message-ID: <61d081f4-cccc-4575-927f-5c400b73ff90@k19g2000yqc.googlegroups.com> (raw)
In-Reply-To: 4ad20fd5$0$26308$4f793bc4@news.tdc.fi

On Oct 11, 5:02 pm, Niklas Holsti <niklas.hol...@tidorum.invalid>
wrote:
> Keep a list or array of (accesses to) a factory function for each
> possible (derived) type.

'Lo,

That does sound like the sort of thing I'd have done in C. I still
have a nagging sensation that Ada actually provides other means to
do this based on such things as the 'Tag attribute.

I'll keep this suggestion in mind in the meantime, though.



  reply	other threads:[~2009-10-11 17:15 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-11 16:41 Runtime type selection xorque
2009-10-11 17:02 ` Niklas Holsti
2009-10-11 17:15   ` xorque [this message]
2009-10-11 19:54     ` Niklas Holsti
2009-10-12  9:26       ` Georg Bauhaus
2009-10-12 12:02         ` xorque
2009-10-12 23:42       ` Randy Brukardt
2009-10-13  6:50         ` Niklas Holsti
2009-10-13  0:59       ` Adam Beneschan
2009-10-13  7:01         ` Niklas Holsti
2009-10-11 17:15 ` mockturtle
2009-10-11 20:06 ` Dmitry A. Kazakov
2009-10-13 10:45   ` Colin Paul Gloster
2009-10-13 10:17     ` Dmitry A. Kazakov
2009-10-13 15:11 ` xorque
2009-10-13 15:50   ` Dmitry A. Kazakov
2009-10-13 16:02     ` xorque
replies disabled

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