Topic: any plans for alowing templates to take lambdas as parameters


Author: nx02columbia@gmail.com
Date: Fri, 31 May 2013 06:12:18 -0700 (PDT)
Raw View
------=_Part_34_31399086.1370005938165
Content-Type: text/plain; charset=ISO-8859-1

Hi,
I know reasons why lambdas cant be used as template arguments atm(lambda is
not a type, jada jada, decltype... -
http://stackoverflow.com/questions/5849059/lambda-expressions-as-class-template-parameters)
,
 but as a usability feature it would be a great addition to C++.
This way it is "unusable", aka it is simpler just to make a named function.

--

---
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 http://groups.google.com/a/isocpp.org/group/std-proposals/?hl=en.



------=_Part_34_31399086.1370005938165
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi, <br>I know reasons why lambdas cant be used as template arguments atm(l=
ambda is not a type, jada jada, decltype... - http://stackoverflow.com/ques=
tions/5849059/lambda-expressions-as-class-template-parameters) ,<br>&nbsp;b=
ut as a usability feature it would be a great addition to C++.<br>This way =
it is "unusable", aka it is simpler just to make a named function. <br>

<p></p>

-- <br />
&nbsp;<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 std-proposals+unsubscribe@isocpp.org.<br />
To post to this group, send email to std-proposals@isocpp.org.<br />
Visit this group at <a href=3D"http://groups.google.com/a/isocpp.org/group/=
std-proposals/?hl=3Den">http://groups.google.com/a/isocpp.org/group/std-pro=
posals/?hl=3Den</a>.<br />
&nbsp;<br />
&nbsp;<br />

------=_Part_34_31399086.1370005938165--

.