From 1416510046779637701
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,e92ba5a0251f1ca0
X-Google-Attributes: gidf78e5,public
X-Google-ArrivalTime: 2002-07-31 08:03:06 PST
Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!kibo.news.demon.net!news.demon.co.uk!demon!mail2news.demon.co.uk!not-for-mail
From: David Schwartz <davids@webmaster.com>
Newsgroups: comp.std.c++
Subject: Re: C++0x Wish List (deprecate null statement)
Date: Wed, 31 Jul 2002 15:02:27 GMT
Organization: WebMaster Incorporated
Approved: Fergus Henderson <fjh@cs.mu.oz.au>, moderator of comp.std.c++
Message-ID: <3D478FFA.75E92A7@webmaster.com>
References: <23b84d65.0206181331.3d79ce9b@posting.google.com> <3d149fdd$0$233$ed9e5944@reading.news.pipex.net>
X-Trace: mail2news.demon.co.uk 1028127751 mail2news:20307 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)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Date: Wed, 31 Jul 2002 07:21:30 +0000 (UTC)
X-Accept-Language: en
Lines: 24
Xref: archiver1.google.com comp.std.c++:12917

Stephen Howe wrote:

> I do not wish to see null statements deprecated, I use this all the time. I
> would write that as
> 
> while (*(out++)=*(in++))
>     ;
> 
> Stephen Howe

	This could just as well be:

while (*(out++)=*(in++)) { }

	No null statement needed.

	DS

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



