From 2514905253114063638
X-Google-Thread: f78e5,860edfd5ffaa1c7d
X-Google-Attributes: gidf78e5,public
X-Google-Language: ENGLISH,ASCII
Path: g2news1.google.com!news4.google.com!news2.google.com!proxad.net!newsfeed.stueberl.de!peer-uk.news.demon.net!kibo.news.demon.net!news.demon.co.uk!demon!stump.algebra.com!devnull
From: SeeWebsiteForEmail@moderncppdesign.com ("Andrei Alexandrescu (See Website For Email)")
Newsgroups: comp.std.c++
Subject: Re: C++ naming ... a wide subject
Date: Tue, 28 Jun 2005 20:24:49 GMT
Organization: Computer Science & Engineering, U of Washington, Seattle
Lines: 19
Sender: mail2news@demon.net
Approved: fjh@cs.mu.oz.au (Fergus Henderson , moderator of comp.std.c++)
Message-ID: <IIt4M2.D0v@beaver.cs.washington.edu>
References: <42c07be7$0$38043$5a6aecb4@news.aaisp.net.uk> <42c1103c$0$20188$4d4ebb8e@businessnews.de.uu.net>
NNTP-Posting-Host: news.news.demon.net
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable
X-Trace: news.demon.co.uk 1119990509 28679 158.152.254.254 (28 Jun 2005 20:28:29 GMT)
X-Complaints-To: abuse@demon.net
NNTP-Posting-Date: Tue, 28 Jun 2005 20:28:29 +0000 (UTC)
X-Nntp-Posting-Host: parakeet.ee.washington.edu
X-Robomod: STUMP, ichudov@algebra.com (Igor Chudov)
X-User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050317)
X-MIME-Autoconverted: from 8bit to quoted-printable by mulga.cs.mu.OZ.AU id j5SKSPUM001139
X-Accept-Language: en-us, en
X-Virus-Scanned: amavisd-new at cs.mu.OZ.AU
X-Path: comp-std-cpp-robomod!not-for-mail
X-Received: (from fjh@localhost)
	by mulga.cs.mu.OZ.AU (8.12.10+Sun/8.12.9/Submit) id j5SKOnYI029920;
	Wed, 29 Jun 2005 06:24:49 +1000 (EST)
X-Authentication-Warning: mulga.cs.mu.OZ.AU: fjh set sender to devnull@stump.algebra.com using -f
X-Newsgroups: comp.std.c++
Xref: g2news1.google.com comp.std.c++:5291

Daniel Kr=FCgler wrote:
> I always wondered, how Java could live with the essential
> double-casting idiom
>=20
>     if (x instanceof Foo) {
>        Foo f =3D (Foo) x;
>     }

It is an inconvenience to the programmer; for the record, that's a=20
low-hanging fruit for the simplest optimizers.

Andrei

---
[ 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                       ]



