From -2387648233071184068
X-Google-Thread: f78e5,e1d72e3830635ee
X-Google-Attributes: gidf78e5,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: g2news1.google.com!news4.google.com!news.glorb.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: Mon, 25 Jul 2005 16: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)
Delivered-To: std-c++@ucar.edu
From: Maciej Sobczak <no.spam@no.spam.com>
User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20041016
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.std.c++
Subject: Re: std::tolower - which one should be visible?
References: <dbqg7i$fa2$1@sunnews.cern.ch> <1122301061.460975.257060@g49g2000cwa.googlegroups.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Original-NNTP-Posting-Host: 83.77.196.202
Message-ID: <42e55374$1_3@news.bluewin.ch>
Organization: Bluewin AG
Complaints-To: abuse@bluewin.ch
X-Original-NNTP-Posting-Host: 127.0.0.1
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
Date: Mon, 25 Jul 2005 16:06:40 CST
Lines: 22
NNTP-Posting-Host: 65.182.171.162
X-Trace: sv3-eCJmE/W2BTrlkLfFofpaOymTwnguCE+TpvEXlw8OKpEBuoTZMjaehT+1AHhcbD+hziPYampimrM3VCz!tfiyg8A2g8swBeNb59JLgxIeWbVZGTvFdB6aJYSld7dn+2XeWgWG47P6zuxUvRS73JzyvBJkwHEq!I4AaKsoLMQ==
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: g2news1.google.com comp.std.c++:1485

kanze@gabi-soft.fr wrote:

> Except that calling the standard C version of tolower with a
> char argument is undefined behavior, of course.

I don't understand this assertion. The argument of C version of tolower 
has to be representable by unsigned char or equal to EOF. Staying within 
the ASCII range [0..127], all character codes seem to fit this requirement.

What's the real problem?


-- 
Maciej Sobczak : http://www.msobczak.com/
Programming    : http://www.msobczak.com/prog/

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



