Topic: Proposal idea: Allow auto template parameters
Author: Ville Voutilainen <ville.voutilainen@gmail.com>
Date: Thu, 17 Mar 2016 15:48:14 +0200
Raw View
On 17 March 2016 at 15:42, Kamikaze Dominic Fandrey
<kamikaze@bsdforen.de> wrote:
>
>
> On Thursday, 17 March 2016 14:28:53 UTC+1, Kamikaze Dominic Fandrey wrote:
>>
>> template <class EnumT>
>> struct foo_result;
>>
>> template <class EnumT>
>> using foo_result_t = typename foo_result::type;
>>
>> template <class EnumT, EnumT EnumVal>
>> foo_result_t<EnumT> foo();
>
>
> The alias is of course supposed to be:
>
> template <class EnumT>
> using foo_result_t = typename foo_result<EnumT>::type;
>
> Why can I not fix this in the original post?
See
http://open-std.org/JTC1/SC22/WG21/docs/papers/2015/p0127r0.html
--
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/CAFk2RUbs5Zrc_oUKbwt5x9qFfy2fNB0%3Da%3DCHskb17J_7SNDBxQ%40mail.gmail.com.
.
Author: Kamikaze Dominic Fandrey <kamikaze@bsdforen.de>
Date: Thu, 17 Mar 2016 07:02:24 -0700 (PDT)
Raw View
------=_Part_524_2123709780.1458223344293
Content-Type: multipart/alternative;
boundary="----=_Part_525_646078194.1458223344294"
------=_Part_525_646078194.1458223344294
Content-Type: text/plain; charset=UTF-8
On Thursday, 17 March 2016 14:48:16 UTC+1, Ville Voutilainen wrote:
>
> See
> http://open-std.org/JTC1/SC22/WG21/docs/papers/2015/p0127r0.html
>
Nice!
--
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/55fb6660-cc92-4515-891d-c88cfc394596%40isocpp.org.
------=_Part_525_646078194.1458223344294
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr">On Thursday, 17 March 2016 14:48:16 UTC+1, Ville Voutilain=
en wrote:<blockquote class=3D"gmail_quote" style=3D"margin: 0;margin-left:=
0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">See
<br><a href=3D"http://open-std.org/JTC1/SC22/WG21/docs/papers/2015/p0127r0.=
html" target=3D"_blank" rel=3D"nofollow" onmousedown=3D"this.href=3D'ht=
tp://www.google.com/url?q\75http%3A%2F%2Fopen-std.org%2FJTC1%2FSC22%2FWG21%=
2Fdocs%2Fpapers%2F2015%2Fp0127r0.html\46sa\75D\46sntz\0751\46usg\75AFQjCNEF=
WQJY7mWHEZPlD79OWQt1xdAOtQ';return true;" onclick=3D"this.href=3D'h=
ttp://www.google.com/url?q\75http%3A%2F%2Fopen-std.org%2FJTC1%2FSC22%2FWG21=
%2Fdocs%2Fpapers%2F2015%2Fp0127r0.html\46sa\75D\46sntz\0751\46usg\75AFQjCNE=
FWQJY7mWHEZPlD79OWQt1xdAOtQ';return true;">http://open-std.org/JTC1/SC2=
2/<wbr>WG21/docs/papers/2015/p0127r0.<wbr>html</a>
<br></blockquote><div><br>Nice! <br></div></div>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;ISO C++ Standard - Future Proposals" 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/55fb6660-cc92-4515-891d-c88cfc394596%=
40isocpp.org?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.=
com/a/isocpp.org/d/msgid/std-proposals/55fb6660-cc92-4515-891d-c88cfc394596=
%40isocpp.org</a>.<br />
------=_Part_525_646078194.1458223344294--
------=_Part_524_2123709780.1458223344293--
.