220 24105 <CAKiZDp2BEp-FSgV-71rxXeMhy9_aBDyNTHP1cKm=rqoDTTtYfw@mail.gmail.com> article
Path: news.gmane.org!not-for-mail
From: Patrice Roy <patricer@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: lambda template?
Date: Mon, 1 Feb 2016 02:47:36 -0500
Lines: 98
Approved: news@gmane.org
Message-ID: <CAKiZDp2BEp-FSgV-71rxXeMhy9_aBDyNTHP1cKm=rqoDTTtYfw@mail.gmail.com>
References: <64578f60-f8cf-4fdf-91c2-9df72e9dfe09@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary=001a113ecbba309d61052ab09992
X-Trace: ger.gmane.org 1454312859 8976 80.91.229.3 (1 Feb 2016 07:47:39 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Mon, 1 Feb 2016 07:47:39 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBDSZXMHWZIKBBGE3XS2QKGQE4IJ2V7Q@isocpp.org Mon Feb 01 08:47:39 2016
Return-path: <std-proposals+bncBDSZXMHWZIKBBGE3XS2QKGQE4IJ2V7Q@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-pf0-f200.google.com ([209.85.192.200])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBDSZXMHWZIKBBGE3XS2QKGQE4IJ2V7Q@isocpp.org>)
	id 1aQ9D0-0004Nj-FO
	for gclcip-std-proposals@m.gmane.org; Mon, 01 Feb 2016 08:47:38 +0100
Original-Received: by mail-pf0-f200.google.com with SMTP id o185sf341354712pfb.3
        for <gclcip-std-proposals@m.gmane.org>; Sun, 31 Jan 2016 23:47:38 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=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=qjY5Pj14lQrV8SLgR/WIXEG1ghnFXkLEqpJBOopY1/w=;
        b=kyi2xm0OOoIijCizLlCjzaP+Zp+z7VsX7ty8X1QJb6cb/QN03D9LHV9yvAd/zC0cTl
         ti7tXQbInLRTgIJdzWLnDQaKNFZM0WRKG8NL6eQmIAtvqEbuPxO7lR3FezjHxuoY8cGT
         tS/yDbvvVdRfKXOcR/bt0YfEnZIOer3QGGrBX5RGaFcdcgDRq0yi0WCYj/WcxWs4SmF2
         XCjZF92EW9Dtmb/+lPas9wI3TFyC/8swoFovFxgi0FbUsqL4qFPHoKQyAqvp4/7w8NXX
         tS3BlFN4alJNaK03CF6CvvIxvrDd96TOAd5uW4ToPdNCadaRD5TETXqP8I/Rg/faPYDF
         RDDg==
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=qjY5Pj14lQrV8SLgR/WIXEG1ghnFXkLEqpJBOopY1/w=;
        b=PF6XuDrRmqAWFLOTWp2D8U00QRPQQhEF13tu9uGjQDTyKRrXWoIdtThEQNVdpTyg+u
         tdxsyJxvRokNCVrJFedRbubtgotk/mNzc8aq1S6rZETXzbuIl/rBRC12+NZX4FYcyg2+
         9NpeHEtOcT3wZcpHjLUlTX3DfXOljgiLS8PcVBOUhn+YztXWmY5wzSW0ErSOZQBfudxe
         7r28+ytHrN8V5SawEY6q3vBN06gYSZ+Rasgr2Yp1FE2wPqTwtdvIwf3en09dTVOt+6C+
         W14b7QnWXzZH4I05aW05tMSoMELitSf4TwwMvXbhuu88HreeFjqsYftSiLOajvz+i9n0
         3amA==
X-Gm-Message-State: AG10YORYgMZw/aMokTihKrEewhGzgq6vj//g07qWr2EBd85ay0nUDZ5yHHGQdh9opZZv0A==
X-Received: by 10.66.100.129 with SMTP id ey1mr21842881pab.18.1454312857248;
        Sun, 31 Jan 2016 23:47:37 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.107.130.72 with SMTP id e69ls10591iod.7.gmail; Sun, 31 Jan
 2016 23:47:36 -0800 (PST)
X-Received: by 10.107.159.7 with SMTP id i7mr20308442ioe.29.1454312856391;
        Sun, 31 Jan 2016 23:47:36 -0800 (PST)
Original-Received: from mail-io0-x22f.google.com (mail-io0-x22f.google.com. [2607:f8b0:4001:c06::22f])
        by mx.google.com with ESMTPS id p62si26789732ioi.76.2016.01.31.23.47.36
        for <std-proposals@isocpp.org>
        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Sun, 31 Jan 2016 23:47:36 -0800 (PST)
Received-SPF: pass (google.com: domain of patricer@gmail.com designates 2607:f8b0:4001:c06::22f as permitted sender) client-ip=2607:f8b0:4001:c06::22f;
Original-Received: by mail-io0-x22f.google.com with SMTP id g73so149337749ioe.3
        for <std-proposals@isocpp.org>; Sun, 31 Jan 2016 23:47:36 -0800 (PST)
X-Received: by 10.107.134.78 with SMTP id i75mr21477207iod.74.1454312856261;
 Sun, 31 Jan 2016 23:47:36 -0800 (PST)
Original-Received: by 10.79.6.135 with HTTP; Sun, 31 Jan 2016 23:47:36 -0800 (PST)
In-Reply-To: <64578f60-f8cf-4fdf-91c2-9df72e9dfe09@isocpp.org>
X-Original-Sender: patricer@gmail.com
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of patricer@gmail.com designates 2607:f8b0:4001:c06::22f as permitted
 sender) smtp.mailfrom=patricer@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: <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:24105
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/24105>

--001a113ecbba309d61052ab09992
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

What would be the use in your example?

Cheers!

2016-02-01 2:46 GMT-05:00 =EC=9C=A4=ED=9B=88=EB=82=A8 <sim9108@naver.com>:

>
>
> auto fn =3D []< typename T1, typename T2>(auto... args) {
> std::cout << sizeof...(args) << std::endl;
> };
>
> fn<int, float>(2,3,4);
>
>
>       how about lambda template?
>
> --
>
> ---
> 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
> https://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 https://groups.google.com/a/isocpp.org/group/std-propos=
als/.

--001a113ecbba309d61052ab09992
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>What would be the use in your example?<br><br></div>C=
heers!<br></div><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">2=
016-02-01 2:46 GMT-05:00 =EC=9C=A4=ED=9B=88=EB=82=A8 <span dir=3D"ltr">&lt;=
<a href=3D"mailto:sim9108@naver.com" target=3D"_blank">sim9108@naver.com</a=
>&gt;</span>:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8=
ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr"><br><div><=
br></div><div><div><span style=3D"white-space:pre-wrap">	</span>auto fn =3D=
 []&lt; typename T1, typename T2&gt;(auto... args) {</div><div><span style=
=3D"white-space:pre-wrap">		</span>std::cout &lt;&lt; sizeof...(args) &lt;&=
lt; std::endl;</div><div><span style=3D"white-space:pre-wrap">	</span>};</d=
iv><div><br></div><div><span style=3D"white-space:pre-wrap">	</span>fn&lt;i=
nt, float&gt;(2,3,4);</div></div><div><br></div><div><br></div><div>=C2=A0 =
=C2=A0 =C2=A0 how about lambda template?</div></div><span class=3D"HOEnZb">=
<font color=3D"#888888">

<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"https://groups.google.com/a/isocpp.org/group=
/std-proposals/" target=3D"_blank">https://groups.google.com/a/isocpp.org/g=
roup/std-proposals/</a>.<br>
</font></span></blockquote></div><br></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"https://groups.google.com/a/isocpp.org/group=
/std-proposals/">https://groups.google.com/a/isocpp.org/group/std-proposals=
/</a>.<br />

--001a113ecbba309d61052ab09992--

.
