220 26382 <48621f7a-46f0-4b6f-833c-326ad1c4426e@isocpp.org> article
Path: news.gmane.org!not-for-mail
From: Nicol Bolas <jmckesson@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: template<auto&>
Date: Sat, 25 Jun 2016 10:57:20 -0700 (PDT)
Lines: 54
Approved: news@gmane.org
Message-ID: <48621f7a-46f0-4b6f-833c-326ad1c4426e@isocpp.org>
References: <58413fd1-653d-4171-a250-baa99c0a597b@isocpp.org>
 <2308f718-9fcb-445f-974c-9acc9c0aa605@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_328_13700544.1466877441078"
X-Trace: ger.gmane.org 1466877450 15824 80.91.229.3 (25 Jun 2016 17:57:30 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Sat, 25 Jun 2016 17:57:30 +0000 (UTC)
To: ISO C++ Standard - Future Proposals <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBCEKFTV6ZUMBBAUMXO5QKGQEMZKOTDY@isocpp.org Sat Jun 25 19:57:23 2016
Return-path: <std-proposals+bncBCEKFTV6ZUMBBAUMXO5QKGQEMZKOTDY@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-io0-f197.google.com ([209.85.223.197])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBCEKFTV6ZUMBBAUMXO5QKGQEMZKOTDY@isocpp.org>)
	id 1bGrpb-000150-Nf
	for gclcip-std-proposals@m.gmane.org; Sat, 25 Jun 2016 19:57:23 +0200
Original-Received: by mail-io0-f197.google.com with SMTP id k78sf263041881ioi.2
        for <gclcip-std-proposals@m.gmane.org>; Sat, 25 Jun 2016 10:57:23 -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
         :x-spam-checked-in-group:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=/FkXHF+zcXxI8H7lLIfnW18i4miPARPoGw6ufqtYEUI=;
        b=wnDByuz2m1rMCQD07lothB35od+QSHsypAaJ17L1uU9ZAgliP7a/E5LIzngljA8yhR
         D8zLGiJ1SvQdp5olF/Eziqmcuhr92tkqTn+N64tsCE0L7/R7xfCeNtiEpWGhwZTSn6dl
         svEMu2DCaVS+mHkytpqfUmJz9emfb/okqMRAjSnAtY2HNTqkpzZsiZyuUn2o2pSVtoJa
         iQIkdL+CfYYIB4VfV55DGM/pybXmGespcmW1p9Yr/RSa1YB/CjLiAeaLv8PQBDTi6p8w
         dcTnndbbeRJcTqeYFmw783JwLZDWHG9ITEVnH/msywYcJWmBmm5dpROCwN3APV3khaTd
         XSww==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=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=/FkXHF+zcXxI8H7lLIfnW18i4miPARPoGw6ufqtYEUI=;
        b=PXmMsn52jKUyQsGq7s/NUV07UWeRt7X4IaX1yrd7t4JTnShX4V5WU1Kk46bXKFBTO2
         5u1ShTa7/fAhHpCBriLfuNVQxdUimgsVgJB+hT8VXKBboi6FzU1iwy1GBsO29tTBf2mu
         nt8A+cT5FKcGA0PP3Au+YGwm5kdVIpcx6qqjTW6VxbXLyoxR+xsmSygDuutazL+1mHHR
         XFhbba/hqUyC9UUHiqMp4FoLbLCCj9h+ccd0uwpgY74JFKiwat5JJRheMag6tmEW4OZk
         gUyElY2EEUFtI0JBQtsJe343sni3kh1HhaTqODoqAFKkEM0W2A3XFUcBFUZRK7jB/Ulc
         ebNA==
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: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=/FkXHF+zcXxI8H7lLIfnW18i4miPARPoGw6ufqtYEUI=;
        b=IYTHTZRirKOCW3cgSNRekSdVGXeIe7yoaRg+qB/sdeNnlhnmxvNdImIrYlp6F7I2eh
         g1uG9ndpglfTgsMLKlp6zoTBNNXtBOZCefWdKOEt/f8N0zmZCgbgZm+3pvF26QgZCiMn
         k/gYvnhn+F9nBJxtcWUNrk8RqkYfb6j+Tg4ewfZt1q1GoPGCK5lXGuZWiHYz15RFj8cz
         1u71gh0sqf3z901/3F5YskbrSwSe+IZFuCEU/A69kTTIpd159A9uYfzlubi80KBn7tPM
         Ec18H7TGUKalC3sLAxk38E0xA2Qno+k92e5akt8vF1l5IWfQ+EkI/k3PoFvYSWucy47w
         ha1A==
X-Gm-Message-State: ALyK8tJBjCU34uYvJtGaPpxZddRaY+t0wqdtxdWpX739ULR4tHZqibG4ikzrUVzdlSdD/g==
X-Received: by 10.36.214.3 with SMTP id o3mr3889069itg.7.1466877442741;
        Sat, 25 Jun 2016 10:57:22 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.107.158.201 with SMTP id h192ls4048043ioe.59.gmail; Sat, 25
 Jun 2016 10:57:22 -0700 (PDT)
X-Received: by 10.36.91.149 with SMTP id g143mr107947itb.7.1466877441965;
        Sat, 25 Jun 2016 10:57:21 -0700 (PDT)
In-Reply-To: <2308f718-9fcb-445f-974c-9acc9c0aa605@isocpp.org>
X-Original-Sender: jmckesson@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:26382
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/26382>

------=_Part_328_13700544.1466877441078
Content-Type: multipart/alternative; 
	boundary="----=_Part_329_668964024.1466877441078"

------=_Part_329_668964024.1466877441078
Content-Type: text/plain; charset=UTF-8


On Saturday, June 25, 2016 at 1:56:44 PM UTC-4, Nicol Bolas wrote:
>
> You couldn't do `template<int &i>`  before, so you can't do it now. You 
> can make it a pointer if you want, but that would require doing `Foo<*i>`.
>

I of course meant `Foo<&i>`. 

-- 
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/48621f7a-46f0-4b6f-833c-326ad1c4426e%40isocpp.org.

------=_Part_329_668964024.1466877441078
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br>On Saturday, June 25, 2016 at 1:56:44 PM UTC-4, Nicol =
Bolas wrote:<blockquote class=3D"gmail_quote" style=3D"margin: 0;margin-lef=
t: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir=3D"ltr"><=
div>You couldn&#39;t do `template&lt;int &amp;i&gt;`=C2=A0 before, so you c=
an&#39;t do it now. You can make it a pointer if you want, but that would r=
equire doing `Foo&lt;*i&gt;`.<br></div></div></blockquote><div><br>I of cou=
rse meant `Foo&lt;&amp;i&gt;`. <br></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/48621f7a-46f0-4b6f-833c-326ad1c4426e%=
40isocpp.org?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.=
com/a/isocpp.org/d/msgid/std-proposals/48621f7a-46f0-4b6f-833c-326ad1c4426e=
%40isocpp.org</a>.<br />

------=_Part_329_668964024.1466877441078--

------=_Part_328_13700544.1466877441078--

.
