From: steve.folly@rdel.co.uk (Steve Folly)
Subject: Enumerations and rep-clauses?
Date: 2000/02/28
Date: 2000-02-28T14:55:55+00:00 [thread overview]
Message-ID: <38ba8b87.252446008@news.rrds.co.uk> (raw)
Hi,
Given the following Ada95 situation...
type enum is ( a, b, c, d );
for enum use ( a => 12, b => 24, c => 36, d => 48 );
subtype half_enum is enum range a .. b;
Is it guaranteed anywhere that half_enum has the same representation attributes
as enum? (ie. half_enum(a) => 12 and half_enum(b) => 24)
I would hope it did, but I'm having trouble finding the particular LRM
paragraph.
Thanks for your help.
--
Regards,
Steve Folly.
mailto:Steve.Folly@rdel.co.uk
next reply other threads:[~2000-02-28 0:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-02-28 0:00 Steve Folly [this message]
2000-02-28 0:00 ` Enumerations and rep-clauses? Tucker Taft
2000-02-28 0:00 ` Steve Folly
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox