comp.lang.ada
 help / color / mirror / Atom feed
From: Wojtek Narczynski <wojtek@power.com.pl>
Subject: Re: Enumeration representation enhancement proposal
Date: Wed, 20 Oct 2004 13:04:58 +0200
Date: 2004-10-20T13:04:58+02:00	[thread overview]
Message-ID: <pan.2004.10.20.11.04.57.583774@power.com.pl> (raw)
In-Reply-To: rlssm89daux.fsf@jacob.crs4.it

Hello,

>> Clearly, representation has no impact on comparison.
> 
> Wrong.

> Is not correct Ada.  The LRM clearly states (can't remember where,
> though) that the order of the representation should be the same as
> that of the original declaration of the enumeration.

You are right, I am wrong. I suppose I've never run into this, because
I've used enum rep very rarely, because it is not very useful...

I don't have an idea on how to fix it well, then.

Thanks taking taking the time to explain me.

Regards,
Wojtek



      reply	other threads:[~2004-10-20 11:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-14  9:31 Enumeration representation enhancement proposal Wojtek Narczynski
2004-10-14 17:47 ` Nick Roberts
2004-10-15 11:06   ` Wojtek Narczynski
2004-10-19 14:55     ` Jacob Sparre Andersen
2004-10-20  8:41       ` Wojtek Narczynski
2004-10-20  8:58         ` Jacob Sparre Andersen
2004-10-20 11:04           ` Wojtek Narczynski [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