220 24108 <b2d1406e-a35f-4d88-a684-51253689a232@isocpp.org> article
Path: news.gmane.org!not-for-mail
From: =?UTF-8?B?7Jyk7ZuI64Ko?= <sim9108@naver.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: lambda template?
Date: Mon, 1 Feb 2016 00:02:18 -0800 (PST)
Lines: 132
Approved: news@gmane.org
Message-ID: <b2d1406e-a35f-4d88-a684-51253689a232@isocpp.org>
References: <64578f60-f8cf-4fdf-91c2-9df72e9dfe09@isocpp.org>
 <CAKiZDp2BEp-FSgV-71rxXeMhy9_aBDyNTHP1cKm=rqoDTTtYfw@mail.gmail.com>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_580_566123523.1454313738506"
X-Trace: ger.gmane.org 1454313742 22067 80.91.229.3 (1 Feb 2016 08:02:22 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Mon, 1 Feb 2016 08:02:22 +0000 (UTC)
To: ISO C++ Standard - Future Proposals <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBD4LVQW26ICBBC5CXS2QKGQEVR66RYQ@isocpp.org Mon Feb 01 09:02:22 2016
Return-path: <std-proposals+bncBD4LVQW26ICBBC5CXS2QKGQEVR66RYQ@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-ig0-f199.google.com ([209.85.213.199])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBD4LVQW26ICBBC5CXS2QKGQEVR66RYQ@isocpp.org>)
	id 1aQ9RE-0003U7-Mk
	for gclcip-std-proposals@m.gmane.org; Mon, 01 Feb 2016 09:02:20 +0100
Original-Received: by mail-ig0-f199.google.com with SMTP id ik10sf122512506igb.2
        for <gclcip-std-proposals@m.gmane.org>; Mon, 01 Feb 2016 00:02:20 -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:in-reply-to:references:subject:mime-version
         :content-type: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=96C+z9FkEvZPEOfKhxES+AiRA1VDCtOncil8WO5jPYA=;
        b=cnYLprrvsA6BZWjHZmNhhAEBg/CNdCQMy6nsPorEahsY/kAUCPjcdQQYPfI0ivUIuJ
         g3L+H+rs4mXm3nQmOdBnBAZ/6viJEQ6vf8itkCIAM5fX67JdY3GnJn0+LFot5dl+3DnC
         lAUruVI6bGcxza3V86j3GjuwiwylOIccNhKmre+5ud255COzBhQuvbo6wdU1dHE0wZZr
         u91lneGAl2lIwO3/i9saCxLPA5QE3kTlRWncyaZkKp1g3NZ9BhOjXHtDgdu9CIgrLEz6
         46f3znWKcTiBzXCy3nelNLMbDLYqzr8FzIs+mYWn651YhHxYWVmg+xS5v1FXCEtLwhNM
         pKCg==
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:content-type: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=96C+z9FkEvZPEOfKhxES+AiRA1VDCtOncil8WO5jPYA=;
        b=PjFDSAaGoZ1BghIOMeBaEVjRB8o/XgTbUMZRmkMVnea1SgoSXjqI68Q8pGmqkPVNa8
         JxK6MItOEssvpyn1KWclRfJw44vkFYZNiFffKgHh8JtheAg+ZjQsG9wAFEzmnRCgl6/G
         Fmbd/1lO+cTOOCZ5iNDo7xGNaYXFuErKlJmU0MUmKPeo5FWhTWi1rrvxRjVdrhQ1/RQB
         JC8r3oj3+yQBImotVXRrExjhxI/+LRf74Poh+IIXa5JXQgH5H/JS4//D1orwTVTJwZ33
         tu5WBizvRp+3iexS1mJDtAhu64/ovC+by11SohkVFRE34umyNeznubgwwTDX/t9q+ynb
         sNXw==
X-Gm-Message-State: AG10YOT7w8SswAC8Ziz2N2jmFN68i5Ht5FZ8tw5G60Tzr2miMHWXdCefOJG6Zb45zNOU2g==
X-Received: by 10.50.25.133 with SMTP id c5mr11246450igg.4.1454313739689;
        Mon, 01 Feb 2016 00:02:19 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.107.169.72 with SMTP id s69ls1868725ioe.86.gmail; Mon, 01 Feb
 2016 00:02:18 -0800 (PST)
X-Received: by 10.50.41.5 with SMTP id b5mr152558igl.8.1454313738936;
        Mon, 01 Feb 2016 00:02:18 -0800 (PST)
In-Reply-To: <CAKiZDp2BEp-FSgV-71rxXeMhy9_aBDyNTHP1cKm=rqoDTTtYfw@mail.gmail.com>
X-Original-Sender: sim9108@naver.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:24108
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/24108>

------=_Part_580_566123523.1454313738506
Content-Type: multipart/alternative; 
	boundary="----=_Part_581_567201847.1454313738506"

------=_Part_581_567201847.1454313738506
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

lambda capture by value.
lambda capture by ref.
lambda capture by type??=20


2016=EB=85=84 2=EC=9B=94 1=EC=9D=BC =EC=9B=94=EC=9A=94=EC=9D=BC =EC=98=A4=
=ED=9B=84 4=EC=8B=9C 47=EB=B6=84 37=EC=B4=88 UTC+9, Patrice Roy =EB=8B=98=
=EC=9D=98 =EB=A7=90:
>
> 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 <sim...@naver.com <=
javascript:>>:
>
>>
>>
>> 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?
>>
>> --=20
>>
>> ---=20
>> You received this message because you are subscribed to the Google Group=
s=20
>> "ISO C++ Standard - Future Proposals" group.
>> To unsubscribe from this group and stop receiving emails from it, send a=
n=20
>> email to std-proposal...@isocpp.org <javascript:>.
>> To post to this group, send email to std-pr...@isocpp.org <javascript:>.
>> Visit this group at=20
>> 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/.

------=_Part_581_567201847.1454313738506
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">lambda capture by value.<div>lambda capture by ref.<br></d=
iv><div>lambda capture by type??=C2=A0<br></div><div><br><br>2016=EB=85=84 =
2=EC=9B=94 1=EC=9D=BC =EC=9B=94=EC=9A=94=EC=9D=BC =EC=98=A4=ED=9B=84 4=EC=
=8B=9C 47=EB=B6=84 37=EC=B4=88 UTC+9, Patrice Roy =EB=8B=98=EC=9D=98 =EB=A7=
=90:<blockquote class=3D"gmail_quote" style=3D"margin: 0;margin-left: 0.8ex=
;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir=3D"ltr"><div>What=
 would be the use in your example?<br><br></div>Cheers!<br></div><div><br><=
div class=3D"gmail_quote">2016-02-01 2:46 GMT-05:00 =EC=9C=A4=ED=9B=88=EB=
=82=A8 <span dir=3D"ltr">&lt;<a href=3D"javascript:" target=3D"_blank" gdf-=
obfuscated-mailto=3D"tfsr0N2TGwAJ" rel=3D"nofollow" onmousedown=3D"this.hre=
f=3D&#39;javascript:&#39;;return true;" onclick=3D"this.href=3D&#39;javascr=
ipt:&#39;;return true;">sim...@naver.com</a>&gt;</span>:<br><blockquote cla=
ss=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;pa=
dding-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">		</s=
pan>std::cout &lt;&lt; sizeof...(args) &lt;&lt; std::endl;</div><div><span =
style=3D"white-space:pre-wrap">	</span>};</div><div><br></div><div><span st=
yle=3D"white-space:pre-wrap">	</span>fn&lt;int, float&gt;(2,3,4);</div></di=
v><div><br></div><div><br></div><div>=C2=A0 =C2=A0 =C2=A0 how about lambda =
template?</div></div><span><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"javascript:" target=3D"_blank" gdf-obfuscated-mailto=3D"=
tfsr0N2TGwAJ" rel=3D"nofollow" onmousedown=3D"this.href=3D&#39;javascript:&=
#39;;return true;" onclick=3D"this.href=3D&#39;javascript:&#39;;return true=
;">std-proposal...@<wbr>isocpp.org</a>.<br>
To post to this group, send email to <a href=3D"javascript:" target=3D"_bla=
nk" gdf-obfuscated-mailto=3D"tfsr0N2TGwAJ" rel=3D"nofollow" onmousedown=3D"=
this.href=3D&#39;javascript:&#39;;return true;" onclick=3D"this.href=3D&#39=
;javascript:&#39;;return true;">std-pr...@isocpp.org</a>.<br>
Visit this group at <a href=3D"https://groups.google.com/a/isocpp.org/group=
/std-proposals/" target=3D"_blank" rel=3D"nofollow" onmousedown=3D"this.hre=
f=3D&#39;https://groups.google.com/a/isocpp.org/group/std-proposals/&#39;;r=
eturn true;" onclick=3D"this.href=3D&#39;https://groups.google.com/a/isocpp=
..org/group/std-proposals/&#39;;return true;">https://groups.google.com/a/<w=
br>isocpp.org/group/std-<wbr>proposals/</a>.<br>
</font></span></blockquote></div><br></div>
</blockquote></div></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 />

------=_Part_581_567201847.1454313738506--
------=_Part_580_566123523.1454313738506--

.
