220 21121 <CAOHCbit2O3Ac24_H5pKqTAOmqtQUkGA-nnzVzpQ71wkntv-nuw@mail.gmail.com> article
Path: news.gmane.org!not-for-mail
From: Tony V E <tvaneerd@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: P0116: Boolean conversion for Standard Library types
Date: Thu, 1 Oct 2015 15:31:58 -0400
Lines: 175
Approved: news@gmane.org
Message-ID: <CAOHCbit2O3Ac24_H5pKqTAOmqtQUkGA-nnzVzpQ71wkntv-nuw@mail.gmail.com>
References: <!&!AAAAAAAAAAAYAAAAAAAAAP2My3EH4FhKr+L7Y/eBBJTigAAAEAAAADMD/0B9CltLtnnB0vuQtQQBAAAAAA==@gmail.com>
	<DF07162C-0D51-4BF9-A822-B3F1506DA737@me.com>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary=001a11c3c8babb752705211019cc
X-Trace: ger.gmane.org 1443727927 23479 80.91.229.3 (1 Oct 2015 19:32:07 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Thu, 1 Oct 2015 19:32:07 +0000 (UTC)
To: Standard Proposals <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBCUZ5QWKNQIK7FFWWACRUBHVWZRWQ@isocpp.org Thu Oct 01 21:32:03 2015
Return-path: <std-proposals+bncBCUZ5QWKNQIK7FFWWACRUBHVWZRWQ@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-wi0-f197.google.com ([209.85.212.197])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBCUZ5QWKNQIK7FFWWACRUBHVWZRWQ@isocpp.org>)
	id 1ZhjaC-0006rX-I3
	for gclcip-std-proposals@m.gmane.org; Thu, 01 Oct 2015 21:32:00 +0200
Original-Received: by wicgb1 with SMTP id gb1sf942120wic.3
        for <gclcip-std-proposals@m.gmane.org>; Thu, 01 Oct 2015 12:32:00 -0700 (PDT)
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=BzEwKTRDmuwNAPRPwLc2l0oLuF7CK+jne2fPKQiEU7c=;
        b=gD4tu8wgkNEuQwb3ws6Boe2pUw6u9BpBKFs1PpxUtJ82xbhXv5nGPMf7yVTqJPyFDL
         rSJQ3tbvIzhVBDcKVJc14PcWLapCPAYQzit+oCGqERcSnPI+tV5dt71Lbr17MDlWm3yT
         imZQOoVlgLf1RlCBy6Gtnk+BlImRt5a8SBcv5jKI65ByMbVxWoLAJjpkIq2ld4VQW1WB
         c1ptCT/iDIvmLYrOdNIrSm32eCBCar10NqAXhaZpW3j+WKiPeMIRQYoyaImDh/rA72lD
         qcE2dHTenVWV6SVWJexkq/hvT7W08u/jDt1FKTqGRsKLRh0oKUQJazr4napdIe0Iv8KD
         QFsg==
X-Gm-Message-State: ALoCoQkykDpa92p+navZ/jXv87gIXDNn5wWJc3Tq7FSFaTeZL++aaTXPeM93dldgXDsPkC/MxLXb
X-Received: by 10.194.59.166 with SMTP id a6mr1759898wjr.6.1443727919943;
        Thu, 01 Oct 2015 12:31:59 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.25.91.205 with SMTP id p196ls122974lfb.28.gmail; Thu, 01 Oct
 2015 12:31:58 -0700 (PDT)
X-Received: by 10.112.132.74 with SMTP id os10mr3730656lbb.40.1443727918597;
        Thu, 01 Oct 2015 12:31:58 -0700 (PDT)
Original-Received: from mail-lb0-x230.google.com (mail-lb0-x230.google.com. [2a00:1450:4010:c04::230])
        by mx.google.com with ESMTPS id k20si3711565lfe.96.2015.10.01.12.31.58
        for <std-proposals@isocpp.org>
        (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Thu, 01 Oct 2015 12:31:58 -0700 (PDT)
Received-SPF: pass (google.com: domain of tvaneerd@gmail.com designates 2a00:1450:4010:c04::230 as permitted sender) client-ip=2a00:1450:4010:c04::230;
Original-Received: by lbcao8 with SMTP id ao8so15277190lbc.3
        for <std-proposals@isocpp.org>; Thu, 01 Oct 2015 12:31:58 -0700 (PDT)
X-Received: by 10.112.53.231 with SMTP id e7mr3814472lbp.103.1443727918460;
 Thu, 01 Oct 2015 12:31:58 -0700 (PDT)
Original-Received: by 10.112.199.106 with HTTP; Thu, 1 Oct 2015 12:31:58 -0700 (PDT)
In-Reply-To: <DF07162C-0D51-4BF9-A822-B3F1506DA737@me.com>
X-Original-Sender: tvaneerd@gmail.com
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of tvaneerd@gmail.com designates 2a00:1450:4010:c04::230 as permitted
 sender) smtp.mailfrom=tvaneerd@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: <http://groups.google.com/a/isocpp.org/group/std-proposals/post>, <mailto:std-proposals@isocpp.org>
List-Help: <http://support.google.com/a/isocpp.org/bin/topic.py?topic=25838>, <mailto:std-proposals+help@isocpp.org>
List-Archive: <http://groups.google.com/a/isocpp.org/group/std-proposals/>
List-Subscribe: <http://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>,
 <http://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:21121
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/21121>

--001a11c3c8babb752705211019cc
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On Thu, Oct 1, 2015 at 2:56 PM, Alisdair Meredith <alisdairm@me.com> wrote:

> I can see the rationale for numeric types like 'complex' and 'duration' -
> I strongly prefer using named functions with 'bitset' so that it is clear
> whether I am testing for 'any' bit being set, or 'all' bits being set.
>

assert(0b001010);

the boolean of a bitset should clearly be 'any' bit being set.



>
> If you are happy for me to champion under those terms, I will represent
> the paper.
>
> Sent from my iPhone
>
> On Oct 1, 2015, at 9:46 AM, Robert Kawulak <robert.kawulak@gmail.com>
> wrote:
>
> Hi,
>
>
>
> I've written the paper
> <http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/p0116r0.html>
> proposing addition of explicit bool conversion operator to a few Standard
> Library types (bitset, duration and complex).
>
>
>
> I'm not attending the Kona meeting =E2=80=93 would somebody who does be s=
o kind to
> present the paper to the Commitee in my name? If so, please let me know
> privately.
>
>
>
> Also, discussion about the proposal is welcome.
>
>
>
> Best regards,
>
> Robert
>
> --
>
> ---
> 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
> http://groups.google.com/a/isocpp.org/group/std-proposals/.
>
> --
>
> ---
> 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
> http://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 http://groups.google.com/a/isocpp.org/group/std-proposa=
ls/.

--001a11c3c8babb752705211019cc
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Thu, Oct 1, 2015 at 2:56 PM, Alisdair Meredith <span dir=3D"ltr">&lt=
;<a href=3D"mailto:alisdairm@me.com" target=3D"_blank">alisdairm@me.com</a>=
&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0=
 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"auto"><div=
>I can see the rationale for numeric types like &#39;complex&#39; and &#39;=
duration&#39; - I strongly prefer using named functions with &#39;bitset&#3=
9; so that it is clear whether I am testing for &#39;any&#39; bit being set=
, or &#39;all&#39; bits being set.</div></div></blockquote><div><br></div><=
div>assert(0b001010);<br><br></div><div>the boolean of a bitset should clea=
rly be &#39;any&#39; bit being set.<br><br></div><div>=C2=A0<br></div><bloc=
kquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #cc=
c solid;padding-left:1ex"><div dir=3D"auto"><div><br></div><div>If you are =
happy for me to champion under those terms, I will represent the paper.<br>=
<br>Sent from my iPhone</div><div><div class=3D"h5"><div><br>On Oct 1, 2015=
, at 9:46 AM, Robert Kawulak &lt;<a href=3D"mailto:robert.kawulak@gmail.com=
" target=3D"_blank">robert.kawulak@gmail.com</a>&gt; wrote:<br><br></div><b=
lockquote type=3D"cite"><div><div><p><span lang=3D"EN-GB">Hi,<u></u><u></u>=
</span></p><p><span lang=3D"EN-GB"><u></u>=C2=A0<u></u></span></p><p><span =
lang=3D"EN-GB">I&#39;ve written <a href=3D"http://www.open-std.org/jtc1/sc2=
2/wg21/docs/papers/2015/p0116r0.html" target=3D"_blank">the paper</a> propo=
sing addition of explicit bool conversion operator to a few Standard Librar=
y types (bitset, duration and complex).<u></u><u></u></span></p><p><span la=
ng=3D"EN-GB"><u></u>=C2=A0<u></u></span></p><p><span lang=3D"EN-GB">I&#39;m=
 not attending the Kona meeting =E2=80=93 would somebody who does be so kin=
d to present the paper to the Commitee in my name? If so, please let me kno=
w privately.<u></u><u></u></span></p><p><span lang=3D"EN-GB"><u></u>=C2=A0<=
u></u></span></p><p><span lang=3D"EN-GB">Also, discussion about the proposa=
l is welcome.<u></u><u></u></span></p><p><span lang=3D"EN-GB"><u></u>=C2=A0=
<u></u></span></p><p><span lang=3D"EN-GB">Best regards,<u></u><u></u></span=
></p><p><span lang=3D"EN-GB">Robert<u></u><u></u></span></p></div>

<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" target=3D"_=
blank">std-proposals+unsubscribe@isocpp.org</a>.<br>
To post to this group, send email to <a href=3D"mailto:std-proposals@isocpp=
..org" target=3D"_blank">std-proposals@isocpp.org</a>.<br>
Visit this group at <a href=3D"http://groups.google.com/a/isocpp.org/group/=
std-proposals/" target=3D"_blank">http://groups.google.com/a/isocpp.org/gro=
up/std-proposals/</a>.<br>
</div></blockquote></div></div></div><div class=3D"HOEnZb"><div class=3D"h5=
">

<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" target=3D"_=
blank">std-proposals+unsubscribe@isocpp.org</a>.<br>
To post to this group, send email to <a href=3D"mailto:std-proposals@isocpp=
..org" target=3D"_blank">std-proposals@isocpp.org</a>.<br>
Visit this group at <a href=3D"http://groups.google.com/a/isocpp.org/group/=
std-proposals/" target=3D"_blank">http://groups.google.com/a/isocpp.org/gro=
up/std-proposals/</a>.<br>
</div></div></blockquote></div><br></div></div>

<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"http://groups.google.com/a/isocpp.org/group/=
std-proposals/">http://groups.google.com/a/isocpp.org/group/std-proposals/<=
/a>.<br />

--001a11c3c8babb752705211019cc--

.
