* C++ enumerations the Ada way
@ 2003-07-05 23:36 Mark
2003-07-06 21:03 ` Gautier Write-only
0 siblings, 1 reply; 2+ messages in thread
From: Mark @ 2003-07-05 23:36 UTC (permalink / raw)
Interesting article in Embedded Systems Programming this month
http://www.embedded.com/2003/0307
look for:
Programming Pointers
More on enumerations
by Dan Saks
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: C++ enumerations the Ada way
2003-07-05 23:36 C++ enumerations the Ada way Mark
@ 2003-07-06 21:03 ` Gautier Write-only
0 siblings, 0 replies; 2+ messages in thread
From: Gautier Write-only @ 2003-07-06 21:03 UTC (permalink / raw)
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!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-07-06 21:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-05 23:36 C++ enumerations the Ada way Mark
2003-07-06 21:03 ` Gautier Write-only
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox