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 declarationstruct 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.
Jason