220 33443 <ea740118-78c1-4984-9cc9-3a447e439e59@isocpp.org> article
Path: news.gmane.org!.POSTED!not-for-mail
From: Paul Hampson <paul.hampson@pobox.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Proposal: underlying_cast
Date: Sun, 30 Jul 2017 07:35:25 -0700 (PDT)
Lines: 90
Approved: news@gmane.org
Message-ID: <ea740118-78c1-4984-9cc9-3a447e439e59@isocpp.org>
References: <6a2c32ed-99b5-4cc5-86a5-ee3cc07567a3@isocpp.org>
 <cc4b9fd9-cb03-4712-9a15-279145f67bcb@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_3335_948021419.1501425325670"
X-Trace: blaine.gmane.org 1501425330 5893 195.159.176.226 (30 Jul 2017 14:35:30 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Sun, 30 Jul 2017 14:35:30 +0000 (UTC)
To: ISO C++ Standard - Future Proposals <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBDBKDIHOXMCRBLW567FQKGQEZSYFUHI@isocpp.org Sun Jul 30 16:35:22 2017
Return-path: <std-proposals+bncBDBKDIHOXMCRBLW567FQKGQEZSYFUHI@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-io0-f200.google.com ([209.85.223.200])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBDBKDIHOXMCRBLW567FQKGQEZSYFUHI@isocpp.org>)
	id 1dbpJR-00016g-O8
	for gclcip-std-proposals@m.gmane.org; Sun, 30 Jul 2017 16:35:21 +0200
Original-Received: by mail-io0-f200.google.com with SMTP id j32sf233136622iod.15
        for <gclcip-std-proposals@m.gmane.org>; Sun, 30 Jul 2017 07:35:28 -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
         :list-post:list-help:list-archive:list-subscribe:list-unsubscribe;
        bh=ngRqfHoKfgfYKRtwy3nYcG08Gq0KbKlR9GnxS3oos/I=;
        b=NEAGPYmVXNVKD9VnQrsxphVfH6v3g/H5vWge6zAsVDTO9rzR0WVXq/jUmxS5nuaPPD
         T2fqIfjKYdKSFLvxaK1pSozCffSnAvW7nRtVpPZgqV+iQwtnOX/mACESLeGWBe4F5LtR
         AvQQdF3eXsCrvYaNr85ri7c1XGSd4M+DNQztNMgEPgIclcXbJ7fHfx52L3Qt/ZuzC0Bh
         JRIxVYCRRhunFw4HwyslT+McYWDDcSirYRzYcSV78EF+9qXW4uX44QnWp35rLCt7Uhqh
         T2Rz7qYIfstCCH4oJYBcaa9Ng+jWgtMQCNcXXmZceF2B0ptKOqCuyrQb34fClftjNWsF
         PIiQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        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=ngRqfHoKfgfYKRtwy3nYcG08Gq0KbKlR9GnxS3oos/I=;
        b=Mgxk+z3xFMIan/p3Mu6F4X5hGSPkB4voQ6Qb4qT3Sps4QpOyqg5maCED79WSd9nTux
         Vgp+SP88hiv/Dzv9SOI/0D9hbaaWslE07CLW21EJt4rACIgm68UifdQHosGG7RDWgIku
         Lu69wYmFu10F89/KIRcsNWOX6nRDm3XTjhmAdmjcNdYvTPVrpFnRM1MFPTn+GK75ldEE
         yau18bQ+UCOoDqeqWVbVEcTYo58aTUt0n7zraHnBUeDFPPejisghjJZfyEsIHtoKUOu9
         VehZOWh39ND628uj7G/vK0pZCAqA7cXtudmevE3iBSPigOfxJd7enQsq9tha+fUgb+/J
         VRRw==
X-Gm-Message-State: AIVw113yemIIPmD5/vuE6wVU+D6zkK9Y+MCjE0qhGoSvFPo4jo5u8JFT
	anu3GiWPlbhwVXf2
X-Received: by 10.107.53.100 with SMTP id c97mr9888193ioa.12.1501425327418;
        Sun, 30 Jul 2017 07:35:27 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.36.44.69 with SMTP id i66ls6793288iti.9.canary-gmail; Sun, 30
 Jul 2017 07:35:26 -0700 (PDT)
X-Received: by 10.31.179.145 with SMTP id c139mr68244vkf.24.1501425326079;
        Sun, 30 Jul 2017 07:35:26 -0700 (PDT)
In-Reply-To: <cc4b9fd9-cb03-4712-9a15-279145f67bcb@isocpp.org>
X-Original-Sender: paul.hampson@pobox.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:33443
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/33443>

------=_Part_3335_948021419.1501425325670
Content-Type: multipart/alternative; 
	boundary="----=_Part_3336_2075601527.1501425325670"

------=_Part_3336_2075601527.1501425325670
Content-Type: text/plain; charset="UTF-8"

On Monday, 31 July 2017 00:31:49 UTC+10, Paul Hampson wrote:
 

> However, gcc 8 picked 'int', and both clang 4.0 and MSC++ 19.10 picked 
> "ambiguous", so I might be missing something here. (
> https://godbolt.org/g/FZmhHj)
>
> A recently-left (Feb 2017) comment on 
> https://wg21.cmeerw.net/cwg/issue1601 agrees with 'ambiguous', and the 
> discussion 
> <https://groups.google.com/a/isocpp.org/d/msg/std-discussion/jvtNzjy39Ng/H03tx4xSAbgJ> 
> that led to CWG1601 seemed to be leaning towards 'ambiguous' too.
>
https://stackoverflow.com/a/34336157/166389 says I'm right about this, and 
all the compilers are wrong.

Or at least that my confirmation bias is good at cherry-picking Google 
results on Stackoverflow.

-- 
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/ea740118-78c1-4984-9cc9-3a447e439e59%40isocpp.org.

------=_Part_3336_2075601527.1501425325670
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">On Monday, 31 July 2017 00:31:49 UTC+10, Paul Hampson  wro=
te:<div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin: 0;ma=
rgin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir=
=3D"ltr"><div><div></div><div>However, gcc 8 picked &#39;int&#39;, and both=
 clang 4.0 and MSC++ 19.10 picked &quot;ambiguous&quot;, so I might be miss=
ing something here. (<a href=3D"https://godbolt.org/g/FZmhHj" target=3D"_bl=
ank" rel=3D"nofollow" onmousedown=3D"this.href=3D&#39;https://www.google.co=
m/url?q\x3dhttps%3A%2F%2Fgodbolt.org%2Fg%2FFZmhHj\x26sa\x3dD\x26sntz\x3d1\x=
26usg\x3dAFQjCNEElkfXignYKHP8MsDrJvE60D7V2w&#39;;return true;" onclick=3D"t=
his.href=3D&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgodbolt.org%2=
Fg%2FFZmhHj\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEElkfXignYKHP8MsDrJvE60=
D7V2w&#39;;return true;">https://godbolt.org/g/FZmhHj</a>)</div><div><br></=
div><div>A recently-left (Feb 2017) comment on=C2=A0<a href=3D"https://wg21=
..cmeerw.net/cwg/issue1601" target=3D"_blank" rel=3D"nofollow" onmousedown=
=3D"this.href=3D&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwg21.cme=
erw.net%2Fcwg%2Fissue1601\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGkH-whBcw=
vzgr3BVrfVfasyHoaBg&#39;;return true;" onclick=3D"this.href=3D&#39;https://=
www.google.com/url?q\x3dhttps%3A%2F%2Fwg21.cmeerw.net%2Fcwg%2Fissue1601\x26=
sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGkH-whBcwvzgr3BVrfVfasyHoaBg&#39;;retu=
rn true;">https://wg21.cmeerw.net/<wbr>cwg/issue1601</a> agrees with &#39;a=
mbiguous&#39;, and the <a href=3D"https://groups.google.com/a/isocpp.org/d/=
msg/std-discussion/jvtNzjy39Ng/H03tx4xSAbgJ" target=3D"_blank" rel=3D"nofol=
low" onmousedown=3D"this.href=3D&#39;https://groups.google.com/a/isocpp.org=
/d/msg/std-discussion/jvtNzjy39Ng/H03tx4xSAbgJ&#39;;return true;" onclick=
=3D"this.href=3D&#39;https://groups.google.com/a/isocpp.org/d/msg/std-discu=
ssion/jvtNzjy39Ng/H03tx4xSAbgJ&#39;;return true;">discussion</a> that led t=
o CWG1601 seemed to be leaning towards &#39;ambiguous&#39; too.</div><div s=
tyle=3D"margin-bottom:0.6em;margin-top:0.6em;text-align:justify;color:rgb(0=
,0,0);font-family:serif;font-size:medium"></div></div></div></blockquote><d=
iv>https://stackoverflow.com/a/34336157/166389 says I&#39;m right about thi=
s, and all the compilers are wrong.</div><div><br></div><div>Or at least th=
at my confirmation bias is good at cherry-picking Google results on Stackov=
erflow.</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/ea740118-78c1-4984-9cc9-3a447e439e59%=
40isocpp.org?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.=
com/a/isocpp.org/d/msgid/std-proposals/ea740118-78c1-4984-9cc9-3a447e439e59=
%40isocpp.org</a>.<br />

------=_Part_3336_2075601527.1501425325670--

------=_Part_3335_948021419.1501425325670--

.
