C++ Logo

STD-DISCUSSION

Advanced search

Subject: Re: An confusion about the paragraph [temp.expl.spec#18]
From: Thiago Macieira (thiago_at_[hidden])
Date: 2020-09-28 10:52:03


On Monday, 28 September 2020 01:51:24 PDT jim x via Std-Discussion wrote:
> Consider the above example, The comment says that the code is ill-formed.
> However, I have to say, such a case is not covered by this rule. My reason
> is that, please note the bolded wording, that is "class member template",
> in this explicit specialization, `mf2` is not a class member *template, *it
> just a member of a class template

B<double> is being specialised and that is a template.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel DPG Cloud Engineering

STD-DISCUSSION list run by std-discussion-owner@lists.isocpp.org

Older Archives on Google Groups