C++ Logo

std-discussion

Advanced search

Re: Does explicit specialization has same linkage as primary template

From: Christof Meerwald <cmeerw_at_[hidden]>
Date: Fri, 13 Sep 2024 06:14:34 +0200
On Thu, Sep 12, 2024 at 08:22:21PM +0530, Sean Mayard via Std-Discussion wrote:
> Hi, I am trying to find out if explicit specialization of function
> templates or class templates have the same linkage as the primary template.
> Or is it that explicit specialization has no linkage at all?
>
> I tried find it in the standard but couldn't find it. I probably have
> missed something so I would be glad if someone can help me for the same. Or
> maybe a cwg issue is needed(If i didn't miss anything)?

see CWG 605: https://cplusplus.github.io/CWG/issues/605.html


Christof

-- 
https://cmeerw.org                             sip:cmeerw at cmeerw.org
mailto:cmeerw at cmeerw.org                   xmpp:cmeerw at cmeerw.org

Received on 2024-09-13 04:14:37