220 29087 <c976d139-ae31-4756-96a6-30a69d81f14d@isocpp.org> article
Path: news.gmane.org!.POSTED!not-for-mail
From: "T. C." <rs2740@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Removing trivial undefined behaviour
Date: Wed, 26 Oct 2016 01:28:37 -0700 (PDT)
Lines: 76
Approved: news@gmane.org
Message-ID: <c976d139-ae31-4756-96a6-30a69d81f14d@isocpp.org>
References: <35daf87a-bf1d-46de-b16c-c2965fbadc8f@isocpp.org>
 <9e242562-aba1-4f8d-8e0a-b2de34f6a10b@isocpp.org>
 <d24d9d41-d5ba-47ed-8e98-915f84063a92@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_1162_775423578.1477470517220"
X-Trace: blaine.gmane.org 1477470552 27473 195.159.176.226 (26 Oct 2016 08:29:12 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Wed, 26 Oct 2016 08:29:12 +0000 (UTC)
To: ISO C++ Standard - Future Proposals <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBCQ43G7NQIIRBNWSYHAAKGQEC3UDUXQ@isocpp.org Wed Oct 26 10:29:04 2016
Return-path: <std-proposals+bncBCQ43G7NQIIRBNWSYHAAKGQEC3UDUXQ@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-oi0-f71.google.com ([209.85.218.71])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBCQ43G7NQIIRBNWSYHAAKGQEC3UDUXQ@isocpp.org>)
	id 1bzJZi-0003GC-51
	for gclcip-std-proposals@m.gmane.org; Wed, 26 Oct 2016 10:28:42 +0200
Original-Received: by mail-oi0-f71.google.com with SMTP id f78sf14641214oih.7
        for <gclcip-std-proposals@m.gmane.org>; Wed, 26 Oct 2016 01:28:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=date:from:to:message-id:in-reply-to:references:subject:mime-version
         :x-original-sender:reply-to:precedence:mailing-list:list-id
         :x-spam-checked-in-group:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=HXqZeBFaG5w2Ve282CMdxliJfu0E9ZOzuiFpIuvGO4s=;
        b=Efya5W53OAltWAbM8AG+tBGPuaNsdVQgnlsXKURFWkTu4whMvCIzPcIt/PkOFjVN3c
         HLBv9f95TZQbQeVomveXBKOHhYKRa6UX4qFBREDLmGIEV4VnIhAO+0Ayzv3l51tiOH2t
         BSEYl/HKax+mw0YWqYxZ3pEh3ZofOVA8ZyX5Mbhypo3mtDUQYVXF8dtzkvRBwuzp/ahl
         S/UeF/U/EyjtRU2kwKYGeUY3sfGbjw+zyCsnsVWlX22e0JchwnikTfVZr8H/EKnPeCHU
         oze8w92zi0+mfsn1KG9Ea7U6xw28s50JQZXb6ALL8lILZH75DmsWyzxegV2hrXNLXayB
         3xWA==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=date:from:to:message-id:in-reply-to:references:subject:mime-version
         :x-original-sender:reply-to:precedence:mailing-list:list-id
         :x-spam-checked-in-group:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=HXqZeBFaG5w2Ve282CMdxliJfu0E9ZOzuiFpIuvGO4s=;
        b=FQGc6+Z4Aqbj6V+z/X9lVKJkcAHwprOMQWqdgExnSBtNlL7fOLJN9Y0QdlT8RZUyhg
         Y4BLn0B+M+b3PMmTSSSq5/OXRgnLCYZDiszOC3eLnUQT2kvtek3gdJHcua3RxuU6LJU+
         OyyJ50qi301VY78lVZ47LdbHMfeMmEzUWiTyoUatn+mQNGDAvN2IbEMTUHjjMChBXMYn
         T29sP/F6ezwyp5yYVU+HHYdk7RwSlKLjq5B299wmZ/deLcB4rGCYmEi/grv4Oz+1EvuB
         Zrb7fA0LsQFd9MdmCp5SuSYGkBpFKdVydfuzimdbZSciT0Z3wN2UuJ0HSYL5opVjtIl2
         WSLg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:date:from:to:message-id:in-reply-to:references
         :subject:mime-version:x-original-sender:reply-to:precedence
         :mailing-list:list-id:x-spam-checked-in-group:list-post:list-help
         :list-archive:list-subscribe:list-unsubscribe;
        bh=HXqZeBFaG5w2Ve282CMdxliJfu0E9ZOzuiFpIuvGO4s=;
        b=fJTRZ6M5GcbejvdeaWbGO3Xsk23kCWUWm9TkFFGU6/5MVJH2fr5DbMVZv+14Axttbq
         oz6kt+9C5jf86SfkJMUhbHnO5emn+GqBgaSjaUwzKPY06/wRwpMn3xJqTY2BaVWGTlpm
         Oi3XdSSY0hJgTt+cKxXchDXVYclaXBjNdwLNmmJWeMNSs0elCfMBreBg0cbtZLNbaph4
         3gOLXaMepBllhYH04stG3Jd86RwBtSX+Pt1MKbXZLsE/KfKj8Gcj7uYVlefoLonuqq6Z
         AHfxLW6S/vwS1WHszl+FfJeyFmPvJy6+WMAvws/Ysk/ZqHBjFhthnG1PfoByRVWOOq4r
         /7oQ==
X-Gm-Message-State: ABUngvc3IcqKzxZ5OJXIRxnqqWt56yb47Np0XnbyRq1j7F+OFsB6Ty51vM+kdpVkRUW6sQ==
X-Received: by 10.157.38.146 with SMTP id l18mr292741otb.50.1477470519278;
        Wed, 26 Oct 2016 01:28:39 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.36.196.193 with SMTP id v184ls325443itf.6.gmail; Wed, 26 Oct
 2016 01:28:38 -0700 (PDT)
X-Received: by 10.36.110.149 with SMTP id w143mr42645itc.9.1477470518332;
        Wed, 26 Oct 2016 01:28:38 -0700 (PDT)
In-Reply-To: <d24d9d41-d5ba-47ed-8e98-915f84063a92@isocpp.org>
X-Original-Sender: rs2740@gmail.com
Precedence: list
Mailing-list: list std-proposals@isocpp.org; contact std-proposals+owners@isocpp.org
List-ID: <std-proposals.isocpp.org>
X-Google-Group-Id: 399137483710
List-Post: <https://groups.google.com/a/isocpp.org/group/std-proposals/post>, <mailto:std-proposals@isocpp.org>
List-Help: <https://support.google.com/a/isocpp.org/bin/topic.py?topic=25838>, <mailto:std-proposals+help@isocpp.org>
List-Archive: <https://groups.google.com/a/isocpp.org/group/std-proposals/>
List-Subscribe: <https://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>,
 <mailto:std-proposals+subscribe@isocpp.org>
List-Unsubscribe: <mailto:googlegroups-manage+399137483710+unsubscribe@googlegroups.com>,
 <https://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:29087
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/29087>

------=_Part_1162_775423578.1477470517220
Content-Type: multipart/alternative; 
	boundary="----=_Part_1163_228402737.1477470517220"

------=_Part_1163_228402737.1477470517220
Content-Type: text/plain; charset=UTF-8



On Wednesday, October 26, 2016 at 3:20:55 AM UTC-4, Hans Guijt wrote:
>
>
> On Wednesday, October 26, 2016 at 9:11:26 AM UTC+2, T. C. wrote:
>>
>>
>> Because they are meant to be used as isdigit((unsigned char) c).
>>
>  
> Great, in that case I'm sure there is no opposition to changing the 
> signature to reflect this requirement? It's a much cleaner solution than 
> requiring a cast in every invocation, after all.
>
>
>
The reason they take int is because they also accept EOF. That's C's style, 
for better or worse.

In any event, there's no way in hell C++ is going to change this. It's a 
massive C compatibility break.

-- 
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
To view this discussion on the web visit https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/c976d139-ae31-4756-96a6-30a69d81f14d%40isocpp.org.

------=_Part_1163_228402737.1477470517220
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><br>On Wednesday, October 26, 2016 at 3:20:55 AM UTC-4=
, Hans Guijt wrote:<blockquote class=3D"gmail_quote" style=3D"margin: 0;mar=
gin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir=3D=
"ltr"><br>On Wednesday, October 26, 2016 at 9:11:26 AM UTC+2, T. C. wrote:<=
blockquote class=3D"gmail_quote" style=3D"margin:0;margin-left:0.8ex;border=
-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr"><div><br></div><div=
>Because they are meant to be used as isdigit((unsigned char) c).</div></di=
v></blockquote><div>=C2=A0</div><div>Great, in that case I&#39;m sure there=
 is no opposition to changing the signature to reflect this requirement? It=
&#39;s a much cleaner solution than requiring a cast in every invocation, a=
fter all.<br><br><br></div></div></blockquote><div><br></div><div>The reaso=
n they take int is because they also accept EOF. That&#39;s C&#39;s style, =
for better or worse.</div><div><br></div><div>In any event, there&#39;s no =
way in hell C++ is going to change this. It&#39;s a massive C compatibility=
 break.</div></div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;ISO C++ Standard - Future Proposals&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:std-proposals+unsubscribe@isocpp.org">std-proposa=
ls+unsubscribe@isocpp.org</a>.<br />
To post to this group, send email to <a href=3D"mailto:std-proposals@isocpp=
..org">std-proposals@isocpp.org</a>.<br />
To view this discussion on the web visit <a href=3D"https://groups.google.c=
om/a/isocpp.org/d/msgid/std-proposals/c976d139-ae31-4756-96a6-30a69d81f14d%=
40isocpp.org?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.=
com/a/isocpp.org/d/msgid/std-proposals/c976d139-ae31-4756-96a6-30a69d81f14d=
%40isocpp.org</a>.<br />

------=_Part_1163_228402737.1477470517220--

------=_Part_1162_775423578.1477470517220--

.
