From -7190137725652117121
X-Google-Thread: f78e5,174aa7b34b06a51
X-Google-Attributes: gidf78e5,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: g2news1.google.com!news4.google.com!news2.volia.net!newsfeed01.sul.t-online.de!t-online.de!newsfeed.vmunix.org!peer-uk.news.demon.net!kibo.news.demon.net!news.demon.co.uk!demon!stump.algebra.com!devnull
From: ark@acm.org ("Andrew Koenig")
Newsgroups: comp.std.c++
Subject: Re: Is this really unspecified behavior?
Date: Thu, 24 Nov 2005 20:44:16 GMT
Organization: AT&T Worldnet
Lines: 18
Sender: mail2news@demon.net
Approved: fjh@cs.mu.oz.au (Fergus Henderson , moderator of comp.std.c++)
Message-ID: <15phf.161544$zb5.145459@bgtnsc04-news.ops.worldnet.att.net>
References: <1132629737.664847.151630@o13g2000cwo.googlegroups.com>   <1132662585.882464.24110@f14g2000cwb.googlegroups.com>   <E1EeZw5-0004wI-00@chx400.switch.ch>   <XBQgf.150724$zb5.113482@bgtnsc04-news.ops.worldnet.att.net> <1132809799.629407.12230@z14g2000cwz.googlegroups.com>
NNTP-Posting-Host: news.news.demon.net
X-Trace: news.demon.co.uk 1132865062 14301 158.152.254.254 (24 Nov 2005 20:44:22 GMT)
X-Complaints-To: abuse@demon.net
NNTP-Posting-Date: Thu, 24 Nov 2005 20:44:22 +0000 (UTC)
X-Robomod: STUMP, ichudov@algebra.com (Igor Chudov)
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
X-Priority: 3
X-RFC2646: Format=Flowed; Original
X-Virus-Scanned: amavisd-new at cs.mu.OZ.AU
X-MSMail-Priority: Normal
X-Received: (from fjh@localhost)
	by mulga.cs.mu.OZ.AU (8.12.10+Sun/8.12.9/Submit) id jAOKiGDu019510;
	Fri, 25 Nov 2005 07:44:16 +1100 (EST)
X-Path: comp-std-cpp-robomod!not-for-mail
X-NNTP-Posting-Date: Thu, 24 Nov 2005 20:08:29 GMT
X-Delivered-To: std-c++@ucar.edu
X-Authentication-Warning: mulga.cs.mu.OZ.AU: fjh set sender to devnull@stump.algebra.com using -f
X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
X-Newsgroups: comp.std.c++
Xref: g2news1.google.com comp.std.c++:2594

"Razzer" <coolmandan@gmail.com> wrote in message 
news:1132809799.629407.12230@z14g2000cwz.googlegroups.com...

> Why's that? AFAICS, defining the order of evaluation in cases where it
> is undefined in C should not have to worry about giving different
> results since there is no set result in C.

Part of the point is to be able to translate a C++ expression into the 
equivalent C expression without changing its meaning.  That desire implies 
that if a C expression is undefined, the corresponding C++ expression must 
also be undefined.

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



