From 3584150088589755105
X-Google-Thread: f78e5,9ffd8c1080c8181f
X-Google-Attributes: gidf78e5,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: g2news1.google.com!news1.google.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!pe2.news.blueyonder.co.uk!blueyonder!peer-uk.news.demon.net!kibo.news.demon.net!news.demon.co.uk!demon!stump.algebra.com!devnull
From: petebecker@acm.org (Pete Becker)
Newsgroups: comp.std.c++
Subject: Re: Comments on 1745 (latest TR1)
Date: Tue,  1 Feb 2005 18:34:17 GMT
Organization: Dinkumware, Ltd
Lines: 23
Sender: mail2news@demon.net
Approved: fjh@cs.mu.oz.au (Fergus Henderson , moderator of comp.std.c++)
Message-ID: <OZudnZavEMZ0OWLcRVn-ug@rcn.net>
References: <ctlrc4$hrq$1@pump1.york.ac.uk>
NNTP-Posting-Host: news.news.demon.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: news.demon.co.uk 1107282865 649 158.152.254.254 (1 Feb 2005 18:34:25 GMT)
X-Complaints-To: abuse@demon.net
NNTP-Posting-Date: Tue, 1 Feb 2005 18:34:25 +0000 (UTC)
X-Robomod: STUMP, ichudov@algebra.com (Igor Chudov)
X-User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
X-DMCA-Complaints-To: abuse@rcn.net
X-Accept-Language: en-us, en
X-Virus-Scanned: by amavisd-new at cs.mu.OZ.AU
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
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 j11IYHJH007252;
	Wed, 2 Feb 2005 05:34:17 +1100 (EST)
X-NNTP-Posting-Date: Tue, 01 Feb 2005 09:48:57 -0600
X-TN-Interface: 209.99.127.20
X-Delivered-To: std-c++@ucar.edu
X-Spamscanner: mailbox8.ucsd.edu  (v1.5 Dec  3 2004 17:34:44, 0.0/5.0 3.0.0)
X-Postfilter: 1.3.22
X-Authentication-Warning: serv2.gc.dca.giganews.com: news set sender to poster@giganews.com using -f
X-Newsgroups: comp.std.c++
X-MailScanner: PASSED (v1.2.8 3386 j11FmxA2019219 mailbox8.ucsd.edu)
Xref: g2news1.google.com comp.std.c++:4007

Chris Jefferson wrote:

> 1) In 6.1.3.5-5, there are (bool) casts in a number of places. This is 
> related to open defect 484. Can this be taken as a sign that standard 
> algorithms should cast all calls to things like <, etc?

No. The bool casts in 6.1.3.5/5 aren't strictly necessary. The 
comparison operators have to return a result that's convertible to bool. 
In most contexts that conversion happens automatically (e.g. "if(a < 
b)"). In text that conversion doesn't happen, so the cast is supposed to 
make it clearer.

-- 

Pete Becker
Dinkumware, Ltd. (http://www.dinkumware.com)

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



