Topic: Explicit partial template specialisation
Author: baxter150@gmail.com
Date: Wed, 19 Apr 2017 09:38:06 -0700 (PDT)
Raw View
------=_Part_3603_805538770.1492619886200
Content-Type: multipart/alternative;
boundary="----=_Part_3604_637217529.1492619886200"
------=_Part_3604_637217529.1492619886200
Content-Type: text/plain; charset=UTF-8
Hello,
Since partial specialization of functions requires the same partial
specialization of the class, we need, when there is no other specialization
requirements, to rewrite the template or use some workarounds (templated
member struct, deriving from another template):
template<class T, class U>
class A {
--
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/f2f660a9-896c-4ecf-ba95-637c77a4d51c%40isocpp.org.
------=_Part_3604_637217529.1492619886200
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr">Hello,<br><br>Since partial specialization of functions re=
quires the same partial specialization of the class, we need, when there is=
no other specialization requirements, to rewrite the template or use some =
workarounds (templated member struct, deriving from another template):<br><=
br>template<class T, class U><br>class A {<br><br></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/f2f660a9-896c-4ecf-ba95-637c77a4d51c%=
40isocpp.org?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.=
com/a/isocpp.org/d/msgid/std-proposals/f2f660a9-896c-4ecf-ba95-637c77a4d51c=
%40isocpp.org</a>.<br />
------=_Part_3604_637217529.1492619886200--
------=_Part_3603_805538770.1492619886200--
.