From 8910211377027706932
X-Google-Thread: f78e5,affed1ff1aaec0cc
X-Google-Attributes: gidf78e5,public
X-Google-Language: ENGLISH,ASCII
Path: g2news2.google.com!news4.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.speakeasy.net!news.speakeasy.net.POSTED!not-for-mail
NNTP-Posting-Date: Wed, 17 May 2006 01:10:04 -0500
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)
X-Original-To: std-c++@mailman.ucar.edu
Delivered-To: std-c++@mailman.ucar.edu
Delivered-To: std-c++@ucar.edu
Newsgroups: comp.std.c++
Subject: return c - c;
From: "Tom�s" <NULL@NULL.NULL>
References: <ol38g.8911$j7.305122@news.indigo.ie> <9pI8g.9044$j7.305259@news.indigo.ie> <4467E837.3070908@usq.edu.au> <1147689443.069036.37370@i39g2000cwa.googlegroups.com> <MPG.1ed2a79f634808e398a532@news.nabs.net> <1147752080.707405.193860@v46g2000cwv.googlegroups.com> <9P$gtcA52ZaEFwsf@robinton.demon.co.uk>
User-Agent: Xnews/4.06.22
Message-ID: <cyoag.9251$j7.305819@news.indigo.ie>
X-Complaints-To: abuse@eircom.net
Organization: Eircom.Net http://www.eircom.net
X-Virus-Scanned: amavisd-new at ucar.edu
X-Virus-Scanned: amavisd-new at cs.mu.OZ.AU
Approved: Fergus Henderson <fjh@cs.mu.oz.au>, moderator of comp.std.c++
X-Virus-Scanned: amavisd-new at cs.mu.OZ.AU
X-Amavis-Alert: BAD HEADER Non-encoded 8-bit data (char E1 hex) in message header 'From': From: "Tom\341s" <NULL@NULL.NULL>\n
Date: Wed, 17 May 2006 01:07:22 CST
Lines: 20
NNTP-Posting-Host: 65.182.171.162
X-Trace: sv3-RRMaqIvQnsquZlitrb2Yfc15cRwQyBKSrhY7amEBqnbrWbseOdk4jpH3fjpZyBd9VevEOFI2b2+EwBz!dZ87OEBsrDG4A5WyOaTLIlcX2HyW2rbxUf3mLLvQIlkk3BeyapPSkUYkFA+5Ou6+z6TCVIU6A0Lb!uJKuZBZbW0gDG9zhJKE=
X-Complaints-To: abuse@speakeasy.net
X-DMCA-Complaints-To: abuse@speakeasy.net
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.32
Xref: g2news2.google.com comp.std.c++:2009


>int main(void)
>{
>    unsigned char c;
>    return c-c;
>}


Given that an unsigned char has no invalid bit patterns, there shouldn't 
be any time, place, system, implementation or platform where this code 
would return anything other than zero.

-Tom�s

---
[ 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.comeaucomputing.com/csc/faq.html                      ]



