From: "Rodrigo Garcia" <rodrigo.garcia@epfl.ch>
Subject: Re: How to define an array of a variant record type?
Date: Wed, 19 Nov 2003 14:26:13 +0100
Date: 2003-11-19T14:26:13+01:00 [thread overview]
Message-ID: <3fbb6f7a$1@epflnews.epfl.ch> (raw)
In-Reply-To: bpdm15$1o7hc7$1@ID-25716.news.uni-berlin.de
> So, to summarise the various answers to this question, you could use
> indirection or default discriminants.
There is a third possibility. Use tagged types instead of variant records
and... welcome to the wonderful world of OO programming in Ada ;^)
Rodrigo
prev parent reply other threads:[~2003-11-19 13:26 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-17 16:57 How to define an array of a variant record type? Harald Schmidt
2003-11-17 17:35 ` Stephen Leake
2003-11-20 10:02 ` Craig Carey
2003-11-17 17:37 ` Marius Amado Alves
2003-11-18 2:48 ` Steve
2003-11-18 9:04 ` Marius Amado Alves
2003-11-17 18:45 ` Rodrigo Garcia
2003-11-18 2:48 ` Steve
2003-11-18 17:48 ` Nick Roberts
2003-11-19 2:38 ` Steve
2003-11-19 8:11 ` Preben Randhol
2003-11-19 13:26 ` Rodrigo Garcia [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox