From -6745196750497316762
X-Google-Thread: f78e5,174aa7b34b06a51
X-Google-Attributes: gidf78e5,public
X-Google-Language: ENGLISH,UTF8
Path: g2news1.google.com!news4.google.com!news.glorb.com!news.alt.net!comp-std-cpp-robomod!not-for-mail
From: Ron Natalie <ron@spamcop.net>
Newsgroups: comp.std.c++
Subject: Re: Is this really unspecified behavior?
Date: Sun, 27 Nov 2005 16:26:32 CST
Organization: Newshosting.com - Highest quality at a great price! www.newshosting.com
Lines: 24
Approved: Fergus Henderson <fjh@cs.mu.oz.au>, moderator of comp.std.c++
Message-ID: <438a13cf$0$28499$9a6e19ea@news.newshosting.com>
References: <1132629737.664847.151630@o13g2000cwo.googlegroups.com>	<1132722639.345095.296070@f14g2000cwb.googlegroups.com>	<200511231401.jANE1BuC092897@horus.isnic.is>	<1132786459.216137.307610@z14g2000cwz.googlegroups.com>	<4385d50d$0$28516$9a6e19ea@news.newshosting.com> <u1x13oyyd.fsf@boost-consulting.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Return-Path: <devnull@stump.algebra.com>
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)
Delivered-To: std-c++@ucar.edu
User-Agent: Thunderbird 1.4 (Windows/20050908)
X-Complaints-To: abuse@newshosting.com
X-Virus-Scanned: amavisd-new at ucar.edu
X-Virus-Scanned: amavisd-new at cs.mu.OZ.AU
X-Virus-Scanned: amavisd-new at cs.mu.OZ.AU
Xref: g2news1.google.com comp.std.c++:2612

David Abrahams wrote:
> ron@spamcop.net (Ron Natalie) writes:
> 
>> [Example:
>> i = v[i++]; // the behavior is unspecified
>> i = 7, i++, i++; // i becomes 9
>> i = ++i + 1; // the behavior is unspecified
>> i = i + 1; // the value of i is incremented
>> —end example]
> 
> FWIW, examples are non-normative.  If your argument holds up based on
> the rest of the text, you're OK.  Otherwise the example is broken and
> needs to be fixed.
> 
I know that, but the text that immediately preceeds the example
CLEARLY supports the point I was making and the examples are
consistent with what the preceding text you omitted.

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



