220 32118 <f2f660a9-896c-4ecf-ba95-637c77a4d51c@isocpp.org> article
Path: news.gmane.org!.POSTED!not-for-mail
From: baxter150@gmail.com
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Explicit partial template specialisation
Date: Wed, 19 Apr 2017 09:38:06 -0700 (PDT)
Lines: 53
Approved: news@gmane.org
Message-ID: <f2f660a9-896c-4ecf-ba95-637c77a4d51c@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_3603_805538770.1492619886200"
X-Trace: blaine.gmane.org 1492619887 15504 195.159.176.226 (19 Apr 2017 16:38:07 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Wed, 19 Apr 2017 16:38:07 +0000 (UTC)
To: ISO C++ Standard - Future Proposals <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBDG6R4EZZ4GBB3VE33DQKGQEAKKIKYQ@isocpp.org Wed Apr 19 18:38:03 2017
Return-path: <std-proposals+bncBDG6R4EZZ4GBB3VE33DQKGQEAKKIKYQ@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-io0-f198.google.com ([209.85.223.198])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBDG6R4EZZ4GBB3VE33DQKGQEAKKIKYQ@isocpp.org>)
	id 1d0scE-0003tp-2c
	for gclcip-std-proposals@m.gmane.org; Wed, 19 Apr 2017 18:38:02 +0200
Original-Received: by mail-io0-f198.google.com with SMTP id l11sf20402021iod.15
        for <gclcip-std-proposals@m.gmane.org>; Wed, 19 Apr 2017 09:38:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=date:from:to:message-id: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=gFi2ylR73z/ah2022oGgwYo1lM0/nmRLpbC6y5xI5Rk=;
        b=S9HYi2CmbfNPDmv8QepPD3kaxo6fXngIOLX+JYxXPgWTkFpdAslIRsT0njT0QZGwja
         qLAVIpXieHlLnJOHNXqz5WEPa0ib4gm5zMRRhPMvpSHkzsBAmUH1mfHj2Uqw8rElHu48
         epHJooAGzqKOb4x1KqEhR3Stput6qgoRVJHCVmd48jnF55V/Yog6sHpswEiqzg/AFNU7
         5f9UX8+H2hWY08JlJOaWbjpY0FsZivLDfiG5ZBiXGzh/6vnMVNajccm6eGcyZ3XF8W3y
         b0L+L/XATANaDoga9mXRMp3uptv3Ci6JL92oc7QUAjTTGPeP0S6FYRISRnZW3BQthHLl
         sg1w==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20161025;
        h=date:from:to:message-id: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=gFi2ylR73z/ah2022oGgwYo1lM0/nmRLpbC6y5xI5Rk=;
        b=tlAN6it4d0QUWiUrrafA4PQrgAz4akLRTHueRdJR4rFX5EQokH40oU99OQ3Kpz+ufd
         4Ol0L76n8BSlMjkz0RXC8ehge/s/acLHjQ0yC9MtNXh9nYlTagDO1lLmKvJo7sa44VhW
         mqJSDABE7ERBlPzY7QzBx7qQttdBfpXEaCyt7R9LtvpAChA2NMF3WrRW/DQiiiXeOK1Y
         KWuYlxiB3u2dyrJJJ4mW/3KEIIi+ZEF00HOLgUPDSjg5MI/58vWMoXS3yRbcDSBBoYF+
         z393irxtAMIUQA6mWlMMsMc9uwdtO8AZW1woocpUpUrPvdGly0S6QWPJj2UM/fnieTtE
         3Q0Q==
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:message-id: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=gFi2ylR73z/ah2022oGgwYo1lM0/nmRLpbC6y5xI5Rk=;
        b=VhZGUCpNOs5a/1mMnqT55I5UOLvNkG41b4XGnIotS29fIU+XagH8t8l5BzxieWb6nA
         /peowHclHDwk1r3sgwv3lPEeD2HRmWhGQeEQ2+hikZU8SmZJXvN/WLOo/R+ILU4H9MjQ
         YE9NdXHMrSBkjpfpnAD9ilE0spSpRdN8WB2EbrBHbrvxQ9DCnBH/WgF84egSlACJjKfH
         dNTalzgoA5UD1g5aWyPkpqLMMNLUuB/EYhOiwjwryYAzldeVv0Xn4qHjQLnISxmpgd0v
         Yb88F8Q8gfb7X41+jKwU/k7xo8LFgmfSko2p9TVnn650bQmF5ZwqWbahBsH9jrXfmYW7
         PtJw==
X-Gm-Message-State: AN3rC/7+T6PCypbjKl+PCahl21DF6JcRnwIwmmXNf69RWwzEFEDOopXt
	/Va/kgIw5RKUxA==
X-Received: by 10.36.34.82 with SMTP id o79mr1468997ito.24.1492619887375;
        Wed, 19 Apr 2017 09:38:07 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.157.80.129 with SMTP id b1ls1078956oth.4.gmail; Wed, 19 Apr
 2017 09:38:06 -0700 (PDT)
X-Received: by 10.157.17.171 with SMTP id v40mr82345otf.11.1492619886519;
        Wed, 19 Apr 2017 09:38:06 -0700 (PDT)
X-Original-Sender: baxter150@gmail.com
Precedence: list
Mailing-list: list std-proposals@isocpp.org; contact std-proposals+owners@isocpp.org
List-ID: <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:32118
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/32118>

------=_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&lt;class T, class U&gt;<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&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/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--

.
