220 30403 <CACGiwhHU_WKe4q-0DFS5pdHcJHAvt+L7-gOwM9YzozNMDBAefQ@mail.gmail.com> article
Path: news.gmane.org!.POSTED!not-for-mail
From: "D. B." <db0451@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Re: P0298: A byte type definition: with undefined
 pointer arithmetic?
Date: Sat, 7 Jan 2017 20:07:57 +0000
Lines: 50
Approved: news@gmane.org
Message-ID: <CACGiwhHU_WKe4q-0DFS5pdHcJHAvt+L7-gOwM9YzozNMDBAefQ@mail.gmail.com>
References: <e21a1901-1ed5-5795-6244-dd70c4d08adf@f2.dion.ne.jp>
 <b7eda119-bc5d-4940-b359-45088e6f4d3e@isocpp.org> <CACGiwhG2gei5=k1tO+ZVkMjoFSMyEVXwetwBKtKXQRqAXV8mgg@mail.gmail.com>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary=047d7b3a8c2cd526a0054586b0b7
X-Trace: blaine.gmane.org 1483819686 23616 195.159.176.226 (7 Jan 2017 20:08:06 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Sat, 7 Jan 2017 20:08:06 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCWNZ4ECS4GBBHUVYXBQKGQE2PTDJWQ@isocpp.org Sat Jan 07 21:08:02 2017
Return-path: <std-proposals+bncBCWNZ4ECS4GBBHUVYXBQKGQE2PTDJWQ@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-lf0-f71.google.com ([209.85.215.71])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBCWNZ4ECS4GBBHUVYXBQKGQE2PTDJWQ@isocpp.org>)
	id 1cPxHO-0004iU-N2
	for gclcip-std-proposals@m.gmane.org; Sat, 07 Jan 2017 21:07:54 +0100
Original-Received: by mail-lf0-f71.google.com with SMTP id o12sf12512566lfg.7
        for <gclcip-std-proposals@m.gmane.org>; Sat, 07 Jan 2017 12:07:59 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=mime-version:in-reply-to:references:from:date:message-id:subject:to
         :x-original-sender:x-original-authentication-results:reply-to
         :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post
         :list-help:list-archive:list-subscribe:list-unsubscribe;
        bh=/PsjjXWArMUJONBJRc9OQFkCsCpHEO3e6+vqwHweN1Q=;
        b=RhZfeuME74Niq7jd08hUf5XLUw5xWZw/NngjiLUlP9IcuZhxZlCoZdawuSyj17yaJB
         I8ufWyYyERgpqgGvmn0myOmszAdCpDeQOSV5tCoeC9kHNZia03v2kOM+mR050/+Fpbtb
         t1lJ5jfP40xajTdUMczAAgjnmDgV1Ky5P4XbSBUq+CSiFa4zPhaj/d9/nGvnnMoASWCp
         fRrK+yk0Ic9q31HvGDOh+I/qSbUNAkG5V8Mwu15biTDaYooMD/m22s8kkrp1HLhhTIkK
         2YkXjuUYgAXFswbSMNwX5JMJGrx7hMwoASAuKnvOM54xkNbYwXpRUAWTyjCC75IJ3ws6
         MXjg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:mime-version:in-reply-to:references:from:date
         :message-id:subject:to:x-original-sender
         :x-original-authentication-results:reply-to:precedence:mailing-list
         :list-id:x-spam-checked-in-group:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=/PsjjXWArMUJONBJRc9OQFkCsCpHEO3e6+vqwHweN1Q=;
        b=GCA1BtqHANKFIUcpmrf3FVOuVvAnoQqI4IGMhN1OEQeZbvdO9HURwK20igAputjMo8
         YJsT27q6cwZvNH0sLsX3oxp76TlzIK/5R9JaNezqZe/Gg4gTX3rz61Zw1/onDq4OR7WL
         D93KvFGsLityyrhA6B4h2yo9pmRbcbd5dfdDMj6qVBF/Cpwq6zRTmWhiP+S7yjj2pukA
         APb4gu3xzp/+Hpeb0/dyxVL8FH+3i+l4k6hr6AC3QW9uS40SP9rU1AGcbUplfqsoboYV
         9tvzkg0nqvs2PXXAXjiDz5wjlIzS8hjGqddov39cljVsO2LvCj3+2tE/V/PznD69ErZk
         4OMw==
X-Gm-Message-State: AIkVDXI9oEc6+vuH4xrdBxZY1S7X72XTTrkRvb72nietYJH1s6kyHKuZ4qAHQpoZs76xBg==
X-Received: by 10.46.74.9 with SMTP id x9mr6871721lja.0.1483819679378;
        Sat, 07 Jan 2017 12:07:59 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.28.60.68 with SMTP id j65ls649848wma.24.gmail; Sat, 07 Jan
 2017 12:07:58 -0800 (PST)
X-Received: by 10.223.142.1 with SMTP id n1mr5895837wrb.185.1483819678587;
        Sat, 07 Jan 2017 12:07:58 -0800 (PST)
Original-Received: from mail-wj0-x235.google.com (mail-wj0-x235.google.com. [2a00:1450:400c:c01::235])
        by mx.google.com with ESMTPS id 137si249407wma.32.2017.01.07.12.07.58
        for <std-proposals@isocpp.org>
        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Sat, 07 Jan 2017 12:07:58 -0800 (PST)
Received-SPF: pass (google.com: domain of db0451@gmail.com designates 2a00:1450:400c:c01::235 as permitted sender) client-ip=2a00:1450:400c:c01::235;
Original-Received: by mail-wj0-x235.google.com with SMTP id kq3so4910990wjc.0
        for <std-proposals@isocpp.org>; Sat, 07 Jan 2017 12:07:58 -0800 (PST)
X-Received: by 10.194.209.136 with SMTP id mm8mr771414wjc.149.1483819678244;
 Sat, 07 Jan 2017 12:07:58 -0800 (PST)
Original-Received: by 10.28.144.66 with HTTP; Sat, 7 Jan 2017 12:07:57 -0800 (PST)
In-Reply-To: <CACGiwhG2gei5=k1tO+ZVkMjoFSMyEVXwetwBKtKXQRqAXV8mgg@mail.gmail.com>
X-Original-Sender: db0451@gmail.com
X-Original-Authentication-Results: mx.google.com;       dkim=pass
 header.i=@gmail.com;       spf=pass (google.com: domain of db0451@gmail.com
 designates 2a00:1450:400c:c01::235 as permitted sender) smtp.mailfrom=db0451@gmail.com;
       dmarc=pass (p=NONE dis=NONE) header.from=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:30403
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/30403>

--047d7b3a8c2cd526a0054586b0b7
Content-Type: text/plain; charset=UTF-8

That said, if you could elaborate on situations in which you think casting
to int, adding, then casting back formally improves things, then I'd be
interested.

I had a thread here before, about the subtraction issue, and other
workarounds were proposed - which, while ingenious and frankly hilarious in
their inventiveness, really made me wish a lot of things were better
defined. As is, we have this codified concept of 'sequence of unsigned
char' but it doesn't seem *useful* for anything...

-- 
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/CACGiwhHU_WKe4q-0DFS5pdHcJHAvt%2BL7-gOwM9YzozNMDBAefQ%40mail.gmail.com.

--047d7b3a8c2cd526a0054586b0b7
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>That said, if you could elaborate on situations in wh=
ich you think casting to int, adding, then casting back formally improves t=
hings, then I&#39;d be interested.<br><br></div>I had a thread here before,=
 about the subtraction issue, and other workarounds were proposed - which, =
while ingenious and frankly hilarious in their inventiveness, really made m=
e wish a lot of things were better defined. As is, we have this codified co=
ncept of &#39;sequence of unsigned char&#39; but it doesn&#39;t seem <i>use=
ful</i> for anything...<br></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/CACGiwhHU_WKe4q-0DFS5pdHcJHAvt%2BL7-g=
OwM9YzozNMDBAefQ%40mail.gmail.com?utm_medium=3Demail&utm_source=3Dfooter">h=
ttps://groups.google.com/a/isocpp.org/d/msgid/std-proposals/CACGiwhHU_WKe4q=
-0DFS5pdHcJHAvt%2BL7-gOwM9YzozNMDBAefQ%40mail.gmail.com</a>.<br />

--047d7b3a8c2cd526a0054586b0b7--

.
