On 06/13/2014 02:45 PM, Ville Voutilainen wrote:
Yeah, my point was just that unscoped enums (with an explicit underlying type)
as such are eligible for specialization

Yes, but if there is a template definition for the enum available when the specialization is declared, the enum template is implicitly instantiated along with its containing class, so the specialization is ill-formed because you can't define a specialization that has already been instantiated. Which is what the example in the standard illustrates.

Jason

Reply via email to