220 29391 <7d99e4bd-5ae1-4615-96dd-c8849487c007@isocpp.org> article
Path: news.gmane.org!.POSTED!not-for-mail
From: billconan@gmail.com
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: why not formally support meta programming.
Date: Wed, 9 Nov 2016 17:11:00 -0800 (PST)
Lines: 58
Approved: news@gmane.org
Message-ID: <7d99e4bd-5ae1-4615-96dd-c8849487c007@isocpp.org>
References: <668e0a04-c988-4354-ae32-30f626f75403@isocpp.org> <CAOqAUTiRxwtmzM-_tSyTUKbyiJhivCbVmUgQ749ByD=h-SAF4A@mail.gmail.com>
 <CAKO7S=JZi-v=EZiXFmUZnkMxARbVK5EJ6wmnC3NkqT_oSEQjOQ@mail.gmail.com>
 <f2877a3a-dd59-4a52-ab25-6458b9de3128@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_235_1414745408.1478740260669"
X-Trace: blaine.gmane.org 1478740283 4334 195.159.176.226 (10 Nov 2016 01:11:23 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Thu, 10 Nov 2016 01:11:23 +0000 (UTC)
Cc: billconan@gmail.com
To: ISO C++ Standard - Future Proposals <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBD7JLV7X6MLRBJ4SR7AQKGQEGEXRQBY@isocpp.org Thu Nov 10 02:11:19 2016
Return-path: <std-proposals+bncBD7JLV7X6MLRBJ4SR7AQKGQEGEXRQBY@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-vk0-f72.google.com ([209.85.213.72])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBD7JLV7X6MLRBJ4SR7AQKGQEGEXRQBY@isocpp.org>)
	id 1c4dtM-0007R6-Mm
	for gclcip-std-proposals@m.gmane.org; Thu, 10 Nov 2016 02:11:00 +0100
Original-Received: by mail-vk0-f72.google.com with SMTP id p9sf179847586vkd.7
        for <gclcip-std-proposals@m.gmane.org>; Wed, 09 Nov 2016 17:11:04 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=date:from:to:cc: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=+ShdjF/Yh43tHlNhKCCOvTQ0ifS504sh00o/oDP6e6k=;
        b=eFEn7ss3JnGDBT7ChYgi7JVfEuPeXv/F6Lo74F+z61BJd+0i2YbKzMMR9FU7LFaVUo
         8DG8fZ7aCuDngcjXUvM8TtBAs6OfMNB4pgTKpVwU7xbmitl1fbNZWwOCqd/ctMVaYunu
         hfhEhzQDaLQBMiH9BbekgvgO71uCyonN0kItkOrT+KfvN+Z9SgnMTzSA0osBN3w2hnKE
         YfwTc4UmfjRssow8j566bIpdih+e/z8mvw6uTrCrxfhfxX3GjgXLpjz14lM22ALUe7CT
         rLQDV09/KD2xWWcCZUMd4S2y31JhWff8quiYCCcLpi4nnNyw3l4qZCTvoSD1V4N2jaUX
         6oOg==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=date:from:to:cc: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=+ShdjF/Yh43tHlNhKCCOvTQ0ifS504sh00o/oDP6e6k=;
        b=Ut0FF8fFLHAuq3ieLjJfoy6JA5WslyjhgdkcC2EGkN9/gxFFPWhCzGaDhSZt2ES5Oe
         eZo9rUhtpd05KEt1OJzBY+/OlPCqBsEh9nfDz7DdasNyiL8EIfB83FMeSNlGSwsfDM+L
         XFXpXsbkk6sg3t7KSebrSZhoh4ZnxlsfGUKIkZdowTvV9bX9lUFCZLkWTlpdcrzEtmD5
         4e3PJqmVVNsaawfR4K/LtQCKeXkpiwC8gYdZrxmUNF3k8QAB1wQKgOVlL+qKbIINDq1f
         5G9kylXvZHh/8o7wlqzv5TCrQlbmp+q89oOsDQsqbOvZJ2bLb7ppKm43WIlpK32rU0pp
         quuw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:date:from:to:cc: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=+ShdjF/Yh43tHlNhKCCOvTQ0ifS504sh00o/oDP6e6k=;
        b=eCxjxPkPBrwQzyqNm3RNfGi5AoLqJ5DxKfx1rAzloyPfE38zXG21daupSXLpTYZagF
         amE7u5BPh06U5JpWERAmWK4s632oF2gBTafbkdAq649A+FNbZEabwjNeD2rMCyTL2FE1
         t8Lc6G6Fvucg/ib08SL6+nDVjk6qNqigN7XNA0UoJhwfrjrGYI5cFZtiKmnT3QKoOd4k
         0dyf2vvhBpquCainWmtwdyuXwrUJeIx7KAXbujgcbiLAHY/UxtsjbghCHOwNmJ3eRJDO
         GV4h2ABK9WA/yoK7KJ0B8dVHjRKodvNLV8Vshhp5jIHY49zu7uWSHshNiRJ1STadqPpf
         /YWw==
X-Gm-Message-State: ABUngvciDeroej8LoD6/ECzN1g4khp2sGt1G8rPoZhfvftYlP7bPveg8bSEHaqq16EooMg==
X-Received: by 10.159.39.225 with SMTP id b88mr93006uab.27.1478740263705;
        Wed, 09 Nov 2016 17:11:03 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.157.27.206 with SMTP id v14ls1161152otv.2.gmail; Wed, 09 Nov
 2016 17:11:02 -0800 (PST)
X-Received: by 10.157.37.247 with SMTP id q110mr410399ota.5.1478740262949;
        Wed, 09 Nov 2016 17:11:02 -0800 (PST)
In-Reply-To: <f2877a3a-dd59-4a52-ab25-6458b9de3128@isocpp.org>
X-Original-Sender: billconan@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:29391
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/29391>

------=_Part_235_1414745408.1478740260669
Content-Type: multipart/alternative; 
	boundary="----=_Part_236_1408898733.1478740260669"

------=_Part_236_1408898733.1478740260669
Content-Type: text/plain; charset=UTF-8

Thank you, this is indeed a cleaner solution.

but is if constexpr available with any compiler today? event prerelease 
compiler, I'd like to try.

On Wednesday, November 9, 2016 at 4:45:17 PM UTC-8, Nicol Bolas wrote:
>
> A combination of `if constexpr` and template specialization can handle 
> what you're doing:
>
>

-- 
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/7d99e4bd-5ae1-4615-96dd-c8849487c007%40isocpp.org.

------=_Part_236_1408898733.1478740260669
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Thank you, this is indeed a cleaner solution.<div><br></di=
v><div>but is if constexpr available with any compiler today? event prerele=
ase compiler, I&#39;d like to try.<br><br>On Wednesday, November 9, 2016 at=
 4:45:17 PM UTC-8, Nicol Bolas wrote:<blockquote class=3D"gmail_quote" styl=
e=3D"margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left:=
 1ex;"><div dir=3D"ltr">A combination of `if constexpr` and template specia=
lization can handle what you&#39;re doing:<br><div><br></div></div></blockq=
uote></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/7d99e4bd-5ae1-4615-96dd-c8849487c007%=
40isocpp.org?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.=
com/a/isocpp.org/d/msgid/std-proposals/7d99e4bd-5ae1-4615-96dd-c8849487c007=
%40isocpp.org</a>.<br />

------=_Part_236_1408898733.1478740260669--

------=_Part_235_1414745408.1478740260669--

.
