From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,c6ca9cbe17b867c4 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news2.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newspeer1.se.telia.net!se.telia.net!masternews.telia.net.!newsc.telia.net.POSTED!not-for-mail From: =?ISO-8859-1?Q?Bj=F6rn_Persson?= User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1) Gecko/20031114 X-Accept-Language: sv, sv-se, sv-fi, en-gb, en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: access & address References: <1c2f5137.0410140105.66fdb23e@posting.google.com> <1347924.5V7QhTSfdI@linux1.krischik.com> <2t7jm8F1sp752U1@uni-berlin.de> <1982479.VT7X1MC7VE@linux1.krischik.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Message-ID: <0hSbd.106246$dP1.397440@newsc.telia.net> Date: Fri, 15 Oct 2004 15:46:04 GMT NNTP-Posting-Host: 217.209.116.179 X-Complaints-To: abuse@telia.com X-Trace: newsc.telia.net 1097855164 217.209.116.179 (Fri, 15 Oct 2004 17:46:04 CEST) NNTP-Posting-Date: Fri, 15 Oct 2004 17:46:04 CEST Organization: Telia Internet Xref: g2news1.google.com comp.lang.ada:5269 Date: 2004-10-15T15:46:04+00:00 List-Id: Xenos wrote: > If you define an enum such as: >=20 > enum month {First_Month =3D 0, Last_Month =3D 12}; >=20 > The C++ standard says that any value within the range is valid (actuall= y 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=20 number 0? That's not what I call "close enough". --=20 Bj=F6rn Persson PGP key A88682FD omb jor ers @sv ge. r o.b n.p son eri nu