comp.lang.ada
 help / color / mirror / Atom feed
From: Gautier Write-only <gautier@somewhere.nil>
Subject: Re: C++ enumerations the Ada way
Date: Sun, 06 Jul 2003 23:03:52 +0200
Date: 2003-07-06T23:03:52+02:00	[thread overview]
Message-ID: <3F088EB8.F6068010@somewhere.nil> (raw)
In-Reply-To: c5b88987.0307051536.762e1386@posting.google.com

Mark:

> Several references to the Ada way of doing/using enumerations and how
> to do something similar in C++. It might even make a few people look
> into Ada.

Good thing. Curiously the author showed a complicated "Ada way":

  for c in currency'first..currency'last loop 

instead of

  for c in currency loop

! (feedback sent to him).
________________________________________________________
Gautier  --  http://www.mysunrise.ch/users/gdm/gsoft.htm

NB: For a direct answer, e-mail address on the Web site!



      reply	other threads:[~2003-07-06 21:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-05 23:36 C++ enumerations the Ada way Mark
2003-07-06 21:03 ` Gautier Write-only [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