220 36803 <626198a9-db03-40f1-9973-6c46670e2f9d@isocpp.org> article
Path: news.gmane.org!.POSTED!not-for-mail
From: Jakob Riedle <jakob.riedle@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: [Deficiency?] Non-Type Template Parameters will/can
 not be implicitly casted
Date: Wed, 7 Feb 2018 01:32:12 -0800 (PST)
Lines: 61
Approved: news@gmane.org
Message-ID: <626198a9-db03-40f1-9973-6c46670e2f9d@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_5555_973099705.1517995932792"
X-Trace: blaine.gmane.org 1517995816 1477 195.159.176.226 (7 Feb 2018 09:30:16 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Wed, 7 Feb 2018 09:30:16 +0000 (UTC)
To: ISO C++ Standard - Future Proposals <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBCX2XNFO6MPRBHMP5PJQKGQE25BCDAY@isocpp.org Wed Feb 07 10:30:12 2018
Return-path: <std-proposals+bncBCX2XNFO6MPRBHMP5PJQKGQE25BCDAY@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-ua0-f200.google.com ([209.85.217.200])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBCX2XNFO6MPRBHMP5PJQKGQE25BCDAY@isocpp.org>)
	id 1ejM3O-0008T4-9a
	for gclcip-std-proposals@m.gmane.org; Wed, 07 Feb 2018 10:30:10 +0100
Original-Received: by mail-ua0-f200.google.com with SMTP id t31sf92611uad.4
        for <gclcip-std-proposals@m.gmane.org>; Wed, 07 Feb 2018 01:32:15 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=date:from:to:message-id:subject:mime-version:x-original-sender
         :reply-to:precedence:mailing-list:list-id:list-post:list-help
         :list-archive:list-subscribe:list-unsubscribe;
        bh=XsKZxUQ1bLsfVzxmjiVvQKvzJrldTFjLMnsgmhJDmn0=;
        b=CNfdWDcMhhqPm/8uoYyZ/e+Rr/07BK8mu6m3TahKX9pyuB+rUFjJPsehRP5Yg7HDes
         zrbv+bYrJtoodBoXEeKP1/RQ4GIolJuKpB/xRncMoVnm110bMGp5ufx8wbqxA+sfgwAY
         +3U2qO8DA48l4EcpTRbQ64CzAANfIPe6NnIsBTKzAOJk/960z0kRrKB52ZApzo4abj61
         lxmQPaA5PvyS8j2Oavr/vqkWnppE0Vy2rk7xow71exlwWzQrNhKO/R2jYHPsy14B4rFq
         4ZWUF1I48/UO1IqEFBY23Ixp3cVLxRcLPNtX8BzQc2IP0/L+6t5RMZMldQoivjQrISwi
         9icg==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20161025;
        h=date:from:to:message-id:subject:mime-version:x-original-sender
         :reply-to:precedence:mailing-list:list-id:list-post:list-help
         :list-archive:list-subscribe:list-unsubscribe;
        bh=XsKZxUQ1bLsfVzxmjiVvQKvzJrldTFjLMnsgmhJDmn0=;
        b=CwCKJcZVkVwhVsMcCTb3KXr0GNAybZf/2xXSCBsbh1dPWGb/q9JemGd6viyQ2yZw97
         80Npc+8v4e/u9+OO0LLQNm7XhsO0uM3eICuzNcsXJ2eNrU0sDKgnd5z9ktzF0VO81zJs
         uPXplq/n9ktt7qSyQjlD4aFaE4OoJ6NBlF6RY/mibfzKbHelgrCoECg9IAkS39pEfZVF
         zS3mGSfphcaKnxVv2kouN/D8u8uikg94kPe28xqHYVdeVZVFEq4y9crBhivzd3zOGBby
         65Wcmjl3v9mNR0au4VRNag08PXLQmKNuQbRSWmBeAlMC0P2QDf0U11YhdD9/UwWboJ6j
         zCXw==
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: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=XsKZxUQ1bLsfVzxmjiVvQKvzJrldTFjLMnsgmhJDmn0=;
        b=Rc5eIH4+296xHv94+Z8hIP0S/iYS//Msxuct2apg06yED0Dmmopjoig4AL1pFL5+UC
         fA/Pp4kgKJXJtB30Lf9EhFwAjU5bPI7qbvqtvevis6BKW/BSk8u2m6oc8j95gETz8+Q0
         wJAGOOthp/N2AjxmSLKC7z8/5uvBvDBLIH7wU/xpKXmpLBUs/SMEtI9yhINXelX4YWAx
         WRoxzwTJUR7q3B7uC748I6OtCOXnq0Q5iCeG3L/PMzqE6A/TatCGDyBB6dy3e+3ddaGI
         H+IgUnUDrYwqk5r1Ne3ab7EoYcvFZLwErDSI8bjx0i8ICmKStpVKq2RfHLnbYLmiiFoh
         mqQQ==
X-Gm-Message-State: APf1xPAeHgfWXw/+TOjQTwwwkSsgGY5/o5hbJurFQMrZs+s3l5VgdkTq
	+rij7xoG5O30hZZ5bZ68r/zG2Q==
X-Google-Smtp-Source: AH8x224bW7P4YspcMU6HwVQ8c8AhrAFbXMdO7cUu7Hi/zAt62ISabnirETpACCPmJaoFxGF1x12Grg==
X-Received: by 10.176.49.84 with SMTP id e20mr2721669uam.11.1517995935506;
        Wed, 07 Feb 2018 01:32:15 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.31.7.13 with SMTP id 13ls658300vkh.12.gmail; Wed, 07 Feb 2018
 01:32:13 -0800 (PST)
X-Received: by 10.31.98.66 with SMTP id w63mr569168vkb.2.1517995933371;
        Wed, 07 Feb 2018 01:32:13 -0800 (PST)
X-Original-Sender: jakob.riedle@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:36803
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/36803>

------=_Part_5555_973099705.1517995932792
Content-Type: multipart/alternative; 
	boundary="----=_Part_5556_791057426.1517995932792"

------=_Part_5556_791057426.1517995932792
Content-Type: text/plain; charset="UTF-8"

Hi Folks,

recently, it struck me, when I tried to do something like this: 
https://godbolt.org/g/ZS3M6t
Is there any particular reason, Non-Type Template Parameters will/can not 
be implicitly casted?

Maybe, you have an idea, why this is the way it is and whether it has been 
discussed before?

I look forward to your feedback.

Thank you,
Jakob

-- 
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/626198a9-db03-40f1-9973-6c46670e2f9d%40isocpp.org.

------=_Part_5556_791057426.1517995932792
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi Folks,<div><br></div><div>recently, it struck me, when =
I tried to do something like this:=C2=A0<a href=3D"https://godbolt.org/g/ZS=
3M6t">https://godbolt.org/g/ZS3M6t</a></div><div>Is there any particular re=
ason, Non-Type Template Parameters will/can not be implicitly casted?</div>=
<div><br></div><div>Maybe, you have an idea, why this is the way it is and =
whether it has been discussed before?</div><div><br></div><div>I look forwa=
rd to your feedback.</div><div><br></div><div>Thank you,</div><div>Jakob</d=
iv></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/626198a9-db03-40f1-9973-6c46670e2f9d%=
40isocpp.org?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.=
com/a/isocpp.org/d/msgid/std-proposals/626198a9-db03-40f1-9973-6c46670e2f9d=
%40isocpp.org</a>.<br />

------=_Part_5556_791057426.1517995932792--

------=_Part_5555_973099705.1517995932792--

.
