From 2646289052905007153
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,5be30c38f618a07b
X-Google-Attributes: gidf78e5,public
X-Google-ArrivalTime: 2002-05-06 03:55:00 PST
Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!kibo.news.demon.net!news.demon.co.uk!demon!mail2news.demon.co.uk!not-for-mail
From: "Pavel Kuznetsov" <pavel@despammed.com>
Newsgroups: comp.std.c++
Subject: Re: Why switch w/ only integral types?
Date: Mon,  6 May 2002 10:54:40 GMT
Organization: Meridian'93
Approved: Fergus Henderson <fjh@cs.mu.oz.au>, moderator of comp.std.c++
Message-ID: <ab5jrl$fk5b8$1@ID-97366.news.dfncis.de>
References: <6ee7d287.0203202005.63e0b7b3@posting.google.com> <qfpm8.12422$cy2.680922353@newssvr21.news.prodigy.com> <3CCE6310.672E55DF@webmaster.com> <aatv35$dm69h$1@ID-97366.news.dfncis.de> <l978du02tu8ettaobk3cob8jcuns7d9p9u@4ax.com>
X-Trace: mail2news.demon.co.uk 1020682484 mail2news:29847 mail2news mail2news.demon.co.uk
X-Complaints-To: abuse@demon.net
X-Mail2News-Path: news.demon.net!mulga.cs.mu.oz.au
X-Authentication-Warning: mulga.cs.mu.OZ.AU: fjh set sender to devnull@stump.algebra.com using -f
X-Robomod: STUMP, ichudov@algebra.com (Igor Chudov)
X-Orig-NNTP-Posting-Host: 193.227.110.19
Mime-Version: 1.0
Content-Type: text/plain;
	charset="ISO-8859-1"
Content-Transfer-Encoding: 7bit
X-Orig-X-Trace: fu-berlin.de 1020678838 16389480 193.227.110.19 (16 [97366])
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
X-Comment-To: Gennaro Prota
FL-Build: Fidolook Express 2001 UIExt. BuildID: 3BC00FAD (7/10/2001 11:17:49).
Lines: 18
Xref: archiver1.google.com comp.std.c++:11060

Gennaro Prota (gennaro_prota@yahoo.com) wrote:

GP> The definite answer to the switch/if-else dilemma, as well as to
GP> other similar questions, is *you can't know in general*.

Complete agreement on this point. Actually this is 
what I implied with my reply to David Schwartz.
You did it better.

--
Pavel

---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.jamesd.demon.co.uk/csc/faq.html                       ]



