220 23380 <CAFdMc-3jp8ASEQYOr8Hphv5c+CDbqzt_z-GmTzs6KkZByfhBHg@mail.gmail.com> article
Path: news.gmane.org!not-for-mail
From: "dgutson ." <danielgutson@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Introduction of a new keyword/fundamental type: byte
Date: Thu, 31 Dec 2015 20:36:31 -0300
Lines: 133
Approved: news@gmane.org
Message-ID: <CAFdMc-3jp8ASEQYOr8Hphv5c+CDbqzt_z-GmTzs6KkZByfhBHg@mail.gmail.com>
References: <5ed65c7c-5965-4073-9e41-d684b37146a3@isocpp.org>
	<9f5ff3f6-27fe-46da-9b21-9f7dbb6644a5@isocpp.org>
	<CAFdMc-3AmG1GVibjznam4NRkGyTRaEKf9QewbgGQK9H=3iJ93g@mail.gmail.com>
	<7048560.C2KFl1ZMOJ@tjmaciei-mobl4>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary=047d7bdc1254e822ec05283a1f36
X-Trace: ger.gmane.org 1451605007 3438 80.91.229.3 (31 Dec 2015 23:36:47 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Thu, 31 Dec 2015 23:36:47 +0000 (UTC)
To: std-proposals <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBDE3NBMV6UFBBAHYS22AKGQE4NTAZYQ@isocpp.org Fri Jan 01 00:36:35 2016
Return-path: <std-proposals+bncBDE3NBMV6UFBBAHYS22AKGQE4NTAZYQ@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-vk0-f71.google.com ([209.85.213.71])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBDE3NBMV6UFBBAHYS22AKGQE4NTAZYQ@isocpp.org>)
	id 1aEmlm-0000Nd-7e
	for gclcip-std-proposals@m.gmane.org; Fri, 01 Jan 2016 00:36:34 +0100
Original-Received: by mail-vk0-f71.google.com with SMTP id w66sf815303002vkb.2
        for <gclcip-std-proposals@m.gmane.org>; Thu, 31 Dec 2015 15:36:33 -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:date:message-id:subject:from:to
         :content-type: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=8laey5FTVilLbrRUgdzbw+/CuDAVk41nSVPTT0z8ptU=;
        b=cS8OlhOdxPL4YJMeohvTVdnK4m14tHwLrB416FWjrUbzVbFDDgYVg0TfB70IZPLy2R
         QAFAtA47At/apQPkmE02r0sqQqghjrnfE5v9mvD45GzuviCxYstyH+5IGy1znwXAvIBH
         +s9XF08fYRpr20BSAmPAqsZCIxddHi/OwSZaWvhfYPBvjRAFOP3q1WTZhFnW0uj4bkzA
         QpISVGOkFLkiMO2+7l+d4Sh8MTfEqvqUXcgJBnXwOk1rsvvTUVq0IQAkSwji8lAC7VOp
         FEYnG+88T+ntA7fEIs4jZde6gKvJyeJz2g+hb0/81dwsMEzw9NZMJzRoQlTJtVgj80aF
         smZg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:mime-version:in-reply-to:references:date
         :message-id:subject:from:to:content-type: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=8laey5FTVilLbrRUgdzbw+/CuDAVk41nSVPTT0z8ptU=;
        b=Xdx/B6xvtmTRxo8AcKREBRTzlEJ6vzqetuZBTumXrDAUxysIs/mSSg8UbA+BjxEvoA
         r7ug6YRXKZNzVrhtKNSXG6m9AoOmwkw6aTDRzBk6ObhOnPvlZ9xluxTfQKHGNtrdm3x2
         1FYlNZ8FWt7DC9WoUBgJX0iRpy1IbxXDn21etv3Y7MhBUO51tNCG6oVfvtg/AmDHMOQA
         q/VnvChHAkgTe8XB1p8yOjyRrsg/iC3BoYO4tuXCvLiNOxlb596QhFBq4gvQKsGXNGSE
         97gVuewrdrIejgXUd3EL2vRy/5CCFgiBh6Wvf79EJ32RjdY1udLqeljIoxVUNAyQtrOS
         Ff5Q==
X-Gm-Message-State: ALoCoQnMIoxPTye5FTGsj1FotXsmKAQTpd1v7wPv1pXGFMnhR7MHaxB8iDl0bblSV7YSmrAiDC12cDHJxYfCVHOuD0Oht3GFPA==
X-Received: by 10.13.220.132 with SMTP id f126mr60333670ywe.22.1451604993002;
        Thu, 31 Dec 2015 15:36:33 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.107.164.216 with SMTP id d85ls3007868ioj.73.gmail; Thu, 31 Dec
 2015 15:36:32 -0800 (PST)
X-Received: by 10.107.6.156 with SMTP id f28mr62723459ioi.46.1451604992186;
        Thu, 31 Dec 2015 15:36:32 -0800 (PST)
Original-Received: from mail-ig0-x233.google.com (mail-ig0-x233.google.com. [2607:f8b0:4001:c05::233])
        by mx.google.com with ESMTPS id e10si52674804igy.5.2015.12.31.15.36.32
        for <std-proposals@isocpp.org>
        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Thu, 31 Dec 2015 15:36:32 -0800 (PST)
Received-SPF: pass (google.com: domain of danielgutson@gmail.com designates 2607:f8b0:4001:c05::233 as permitted sender) client-ip=2607:f8b0:4001:c05::233;
Original-Received: by mail-ig0-x233.google.com with SMTP id ph11so203248922igc.1
        for <std-proposals@isocpp.org>; Thu, 31 Dec 2015 15:36:32 -0800 (PST)
X-Received: by 10.50.30.166 with SMTP id t6mr36261385igh.15.1451604992072;
 Thu, 31 Dec 2015 15:36:32 -0800 (PST)
Original-Received: by 10.36.248.3 with HTTP; Thu, 31 Dec 2015 15:36:31 -0800 (PST)
Original-Received: by 10.36.248.3 with HTTP; Thu, 31 Dec 2015 15:36:31 -0800 (PST)
In-Reply-To: <7048560.C2KFl1ZMOJ@tjmaciei-mobl4>
X-Original-Sender: danielgutson@gmail.com
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of danielgutson@gmail.com designates 2607:f8b0:4001:c05::233 as
 permitted sender) smtp.mailfrom=danielgutson@gmail.com;       dkim=pass
 header.i=@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-Spam-Checked-In-Group: 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:23380
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/23380>

--047d7bdc1254e822ec05283a1f36
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

El 31/12/2015 19:08, "Thiago Macieira" <thiago@macieira.org> escribi=C3=B3:
>
> On Thursday 31 December 2015 14:11:47 dgutson . wrote:
> > El 31/12/2015 12:47, "Vincent Reverdy" <vince.rev@gmail.com> escribi=C3=
=B3:
> > > What do you mean?
> > > Do you think that sizeof(byte) should be equal to CHAR_BIT instead of
1?
> >
> > One of the problems I see is that the size of byte might not be
expressed
> > in terms of (integer) number of chars.
>
> By definition, the size of a byte is 1, containing CHAR_BIT bits.

Could you please point me to such definition in the std?

>
> > Another issue is that I fail to see the benefits of having "byte" other
> > than printing the numeric value, which can already be perfectly doable
with
> > a type mapper:
>
> Same here.

What same?

>
> --
> Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
>    Software Architect - Intel Open Source Technology Center
>       PGP/GPG: 0x6EF45358; fingerprint:
>       E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
>
> --
>
> ---
> 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.
> Visit this group at
https://groups.google.com/a/isocpp.org/group/std-proposals/.

--=20

---=20
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 e=
mail to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
Visit this group at https://groups.google.com/a/isocpp.org/group/std-propos=
als/.

--047d7bdc1254e822ec05283a1f36
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<p dir=3D"ltr"><br>
El 31/12/2015 19:08, &quot;Thiago Macieira&quot; &lt;<a href=3D"mailto:thia=
go@macieira.org">thiago@macieira.org</a>&gt; escribi=C3=B3:<br>
&gt;<br>
&gt; On Thursday 31 December 2015 14:11:47 dgutson . wrote:<br>
&gt; &gt; El 31/12/2015 12:47, &quot;Vincent Reverdy&quot; &lt;<a href=3D"m=
ailto:vince.rev@gmail.com">vince.rev@gmail.com</a>&gt; escribi=C3=B3:<br>
&gt; &gt; &gt; What do you mean?<br>
&gt; &gt; &gt; Do you think that sizeof(byte) should be equal to CHAR_BIT i=
nstead of 1?<br>
&gt; &gt;<br>
&gt; &gt; One of the problems I see is that the size of byte might not be e=
xpressed<br>
&gt; &gt; in terms of (integer) number of chars.<br>
&gt;<br>
&gt; By definition, the size of a byte is 1, containing CHAR_BIT bits.</p>
<p dir=3D"ltr">Could you please point me to such definition in the std?</p>
<p dir=3D"ltr">&gt;<br>
&gt; &gt; Another issue is that I fail to see the benefits of having &quot;=
byte&quot; other<br>
&gt; &gt; than printing the numeric value, which can already be perfectly d=
oable with<br>
&gt; &gt; a type mapper:<br>
&gt;<br>
&gt; Same here.</p>
<p dir=3D"ltr">What same?</p>
<p dir=3D"ltr">&gt;<br>
&gt; --<br>
&gt; Thiago Macieira - thiago (AT) <a href=3D"http://macieira.info">macieir=
a.info</a> - thiago (AT) <a href=3D"http://kde.org">kde.org</a><br>
&gt; =C2=A0 =C2=A0Software Architect - Intel Open Source Technology Center<=
br>
&gt; =C2=A0 =C2=A0 =C2=A0 PGP/GPG: 0x6EF45358; fingerprint:<br>
&gt; =C2=A0 =C2=A0 =C2=A0 E067 918B B660 DBD1 105C=C2=A0 966C 33F5 F005 6EF=
4 5358<br>
&gt;<br>
&gt; --<br>
&gt;<br>
&gt; ---<br>
&gt; You received this message because you are subscribed to the Google Gro=
ups &quot;ISO C++ Standard - Future Proposals&quot; group.<br>
&gt; To unsubscribe from this group and stop receiving emails from it, send=
 an email to <a href=3D"mailto:std-proposals%2Bunsubscribe@isocpp.org">std-=
proposals+unsubscribe@isocpp.org</a>.<br>
&gt; To post to this group, send email to <a href=3D"mailto:std-proposals@i=
socpp.org">std-proposals@isocpp.org</a>.<br>
&gt; Visit this group at <a href=3D"https://groups.google.com/a/isocpp.org/=
group/std-proposals/">https://groups.google.com/a/isocpp.org/group/std-prop=
osals/</a>.<br>
</p>

<p></p>

-- <br />
<br />
--- <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 />
Visit this group at <a href=3D"https://groups.google.com/a/isocpp.org/group=
/std-proposals/">https://groups.google.com/a/isocpp.org/group/std-proposals=
/</a>.<br />

--047d7bdc1254e822ec05283a1f36--

.
