220 41370 <12f9683e-9aa1-4161-9c74-e69eb9320df5@isocpp.org> article
Path: news.gmane.org!.POSTED!not-for-mail
From: Alberto Barbati <albertobarbati@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: methods templates
Date: Mon, 21 Jan 2019 05:43:34 -0800 (PST)
Lines: 81
Approved: news@gmane.org
Message-ID: <12f9683e-9aa1-4161-9c74-e69eb9320df5@isocpp.org>
References: <711b31b3-de8f-462a-ac03-780bd2f5e4f4@isocpp.org>
 <dc35ab69-d2a6-4e03-a776-75d6f94a08d4@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: ciao.gmane.org
Mime-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_1712_378521414.1548078214300"
X-Trace: ciao.gmane.org 1548078216 142674 195.159.176.228 (21 Jan 2019 13:43:36 GMT)
X-Complaints-To: usenet@ciao.gmane.org
NNTP-Posting-Date: Mon, 21 Jan 2019 13:43:36 +0000 (UTC)
Cc: philippe.ballereau@free.fr
To: ISO C++ Standard - Future Proposals <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBCPY5DV6RIMBBB4ZS7RAKGQEED4NIAA@isocpp.org Mon Jan 21 14:43:34 2019
Return-path: <std-proposals+bncBCPY5DV6RIMBBB4ZS7RAKGQEED4NIAA@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-yw1-f69.google.com ([209.85.161.69])
	by ciao.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
	(Exim 4.84_2)
	(envelope-from <std-proposals+bncBCPY5DV6RIMBBB4ZS7RAKGQEED4NIAA@isocpp.org>)
	id 1glZrM-000axE-Az
	for gclcip-std-proposals@m.gmane.org; Mon, 21 Jan 2019 14:43:33 +0100
Original-Received: by mail-yw1-f69.google.com with SMTP id b8sf11064347ywb.17
        for <gclcip-std-proposals@m.gmane.org>; Mon, 21 Jan 2019 05:43:37 -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:list-post:list-help:list-archive:list-subscribe
         :list-unsubscribe;
        bh=UI0YxaPGznOh70ukgxwRREgotj247C53ycDFfmEKsws=;
        b=WIgA4MqtvtgH3S7rOSSyP+hiZWgat2vcTKDkArY6tYleVkX69HzPtwyPpOArSEIi38
         3vU6TWPjnUYM8osooxNjP92BmJIZeuzx2QvOdquf/gJwVlLz3pVqG7VrBd0QoTcoGQU9
         g5iJUCyqdoN47lsE+KdhG3CmJhdaTpWGToepcymxTRJphfyEQCXgkOCKp/2bueo7BAJx
         M6yPQxu42ndBEcDhE5w0Wa6VZ01fIc14MeBDw+6ecpnwZ5YJieanVCXvHLbXrUTiet7j
         s7+pssu5/Eqskm53cxMZa5pzi+jEuqDPXUrKambZnSq5znxk1GsqIYtXS4/9Qgqjp5Eq
         1mrw==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20161025;
        h=date:from:to:cc:message-id:in-reply-to:references:subject
         :mime-version:x-original-sender:reply-to:precedence:mailing-list
         :list-id:list-post:list-help:list-archive:list-subscribe
         :list-unsubscribe;
        bh=UI0YxaPGznOh70ukgxwRREgotj247C53ycDFfmEKsws=;
        b=irrmRVoGqU5hCpodUNBLjGAPCemHKg+x0rsRomdgn63+BDsGD7zS7yCOe9Py8L23hu
         gSqhw+qPpwIdQNcAce/C/Bn7VGAae6mcd7sqfnpgFg258SvoYjSDKVHNT7afs2wkvNSE
         xr+KuEgnIlnf4KCvRGPU20CF+EXp1dlC4MthuwjwqofLwyPO2gxTGd7VMWBi5IzUkaoJ
         S35ovmls1xpJ8zjvij8pUQLoGp+QlbDNqVHCTZpg+/ECTMOaCsY7g7fY+LGsKQPXd9Ia
         YL/sabxMBTtGcMAaoto5BbLSKSfNHzaWTSMy5kVSXfC8GKJj0YYFWmIPpMO2iklN+S/g
         EA0A==
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: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=UI0YxaPGznOh70ukgxwRREgotj247C53ycDFfmEKsws=;
        b=Sk7skVqpGOao82BctdoJZ/wQceUS2vw22/0c+I2euG3vPoSIM12hesQmICfJpE4rXr
         QxMH/F7vaIR4VZs2B3RCNE709DG6xqBfwORKRdJa2gnvmDbOD/7n7LMXJGMBEqY8aT87
         EqGHvdPqJo44yXhGkqJQhi/E7Ei+cREr5N/DjjNyUMa2Vr7Rdr/nSfXywy4L/EKHV23P
         3PtpXW29my+ULLY4FGvrfva5xgyFk2tU//TRRZJl5cvQtuSJHSJ0HJDfna+2aktILygg
         FPy7a5ptSP8cDF9tKc+RtcTPtndi4LrYNBZnPnuO2LOCS+gZjC2eSaxEVj1NvsM0vsfd
         ERBw==
X-Gm-Message-State: AJcUukcqhCiya/LlUIrHii+btLaFrM93mreQdaD1WFdxmt8k8xQQ4nl9
	/pnlT1QOCeN7OBI6AyyEjU4Akg==
X-Google-Smtp-Source: ALg8bN5+iwNgnt3RebWBkqZjMH9g9TthsewtLSJfZjnUyRP1ZvFnz5VEBaZBFrgF+IlPyKnicJKxxQ==
X-Received: by 2002:a25:2906:: with SMTP id p6mr13891023ybp.47.1548078216845;
        Mon, 21 Jan 2019 05:43:36 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 2002:a25:d55:: with SMTP id 82ls1558444ybn.12.gmail; Mon, 21 Jan
 2019 05:43:35 -0800 (PST)
X-Received: by 2002:a25:d611:: with SMTP id n17mr159704ybg.0.1548078215031;
        Mon, 21 Jan 2019 05:43:35 -0800 (PST)
In-Reply-To: <dc35ab69-d2a6-4e03-a776-75d6f94a08d4@isocpp.org>
X-Original-Sender: AlbertoBarbati@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:41370
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/41370>

------=_Part_1712_378521414.1548078214300
Content-Type: multipart/alternative; 
	boundary="----=_Part_1713_1526828346.1548078214300"

------=_Part_1713_1526828346.1548078214300
Content-Type: text/plain; charset="UTF-8"

Il giorno domenica 20 gennaio 2019 18:17:04 UTC+1, philippe....@free.fr ha 
scritto:
>
>
> It is also why it seems to me that the template syntax will return for 
> lambdas.
>

It's true that C++2a will introduce a new template syntax for lambda 
expressions, it's 

[]<class T>(T t) { /*...*/ }

However, lambda expressions are the ones the benefit the most from the 
"concise template" syntax with auto (which is essentially the C++17 
polymorphic lambda syntax), so I don't expect the "full template" syntax to 
be used that often in practice.

-- 
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/12f9683e-9aa1-4161-9c74-e69eb9320df5%40isocpp.org.

------=_Part_1713_1526828346.1548078214300
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Il giorno domenica 20 gennaio 2019 18:17:04 UTC+1, philipp=
e....@free.fr ha scritto:<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"><br><div>It is also why it seems to me that the template syntax=
 will return for lambdas.</div></div></blockquote><div><br></div><div>It&#3=
9;s true that C++2a will introduce a new template syntax for lambda express=
ions, it&#39;s <br></div><div><br></div><div><div style=3D"background-color=
: rgb(250, 250, 250); border-color: rgb(187, 187, 187); border-style: solid=
; border-width: 1px; overflow-wrap: break-word;" class=3D"prettyprint"><cod=
e class=3D"prettyprint"><div class=3D"subprettyprint"><span style=3D"color:=
 #660;" class=3D"styled-by-prettify">[]&lt;</span><span style=3D"color: #00=
8;" class=3D"styled-by-prettify">class</span><span style=3D"color: #000;" c=
lass=3D"styled-by-prettify"> T</span><span style=3D"color: #660;" class=3D"=
styled-by-prettify">&gt;(</span><span style=3D"color: #000;" class=3D"style=
d-by-prettify">T t</span><span style=3D"color: #660;" class=3D"styled-by-pr=
ettify">)</span><span style=3D"color: #000;" class=3D"styled-by-prettify"> =
</span><span style=3D"color: #660;" class=3D"styled-by-prettify">{</span><s=
pan style=3D"color: #000;" class=3D"styled-by-prettify"> </span><span style=
=3D"color: #800;" class=3D"styled-by-prettify">/*...*/</span><span style=3D=
"color: #000;" class=3D"styled-by-prettify"> </span><span style=3D"color: #=
660;" class=3D"styled-by-prettify">}</span></div></code></div><br>However, =
lambda expressions are the ones the benefit the most from the &quot;concise=
 template&quot; syntax with auto (which is essentially the C++17 polymorphi=
c lambda syntax), so I don&#39;t expect the &quot;full template&quot; synta=
x to be used that often in practice.<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/12f9683e-9aa1-4161-9c74-e69eb9320df5%=
40isocpp.org?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.=
com/a/isocpp.org/d/msgid/std-proposals/12f9683e-9aa1-4161-9c74-e69eb9320df5=
%40isocpp.org</a>.<br />

------=_Part_1713_1526828346.1548078214300--

------=_Part_1712_378521414.1548078214300--

.
