On Wed, Jan 14, 2015 at 4:28 PM, Jason Merrill <ja...@redhat.com> wrote:
> On 01/14/2015 11:28 AM, Patrick Palka wrote:
>>
>> Second, since the user probably intended to
>> have written an explicit template instantiation (as in the PR), the FE
>> should suggest adding "template" before such a declaration, that is the
>> declaration
>>
>>      struct X<5>; // error + suggest adding "template"
>
>
> Actually, I think in pre-standard days this declared a specialization,
> before template<> was required.  So I think we want to treat it as a
> specialization in this case as well.

Did this define a specialization too:

   struct X<5> { };

or was template<> always required here?

>
> Jason
>

Reply via email to