From: "Björn Persson" <spam-away@nowhere.nil>
Subject: Re: access & address
Date: Fri, 15 Oct 2004 15:46:04 GMT
Date: 2004-10-15T15:46:04+00:00 [thread overview]
Message-ID: <0hSbd.106246$dP1.397440@newsc.telia.net> (raw)
In-Reply-To: <ckmleq$dlm1@cui1.lmms.lmco.com>
Xenos wrote:
> If you define an enum such as:
>
> enum month {First_Month = 0, Last_Month = 12};
>
> The C++ standard says that any value within the range is valid (actually its
> any value less than or equal to the closed power of 2, not less than 12, but
> close enough).
So I can assign 15 to it? Which month would that be? And which month is
number 0? That's not what I call "close enough".
--
Björn Persson PGP key A88682FD
omb jor ers @sv ge.
r o.b n.p son eri nu
next prev parent reply other threads:[~2004-10-15 15:46 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-14 9:05 access & address Hans Van den Eynden
[not found] ` <1347924.5V7QhTSfdI@linux1.krischik.com>
[not found] ` <ckm14i$erb2@cui1.lmms.lmco.com>
2004-10-14 18:09 ` Martin Krischik
2004-10-14 20:13 ` CBFalconer
2004-10-15 8:18 ` Martin Krischik
[not found] ` <2t7jm8F1sp752U1@uni-berlin.de>
2004-10-14 18:17 ` Martin Krischik
2004-10-14 19:52 ` Xenos
2004-10-15 8:53 ` Martin Krischik
2004-10-15 17:30 ` Xenos
2004-10-16 14:25 ` Martin Krischik
2004-10-16 15:15 ` Rich Herrick
2004-10-15 15:46 ` Björn Persson [this message]
2004-10-15 17:09 ` Xenos
2004-10-17 23:38 ` Björn Persson
2004-10-18 7:42 ` Martin Krischik
2004-10-14 19:37 ` Xenos
2004-10-15 8:30 ` Martin Krischik
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox