are those two the same thing? one with after MyClass and another does
not have it..
class MyClass {
template
class MyClass
{
...
}
and
template
class MyClass
{..
}
e****d 发帖数: 895
2
I think the first one should be
template <> class MyClass {}
which is an explicit specialization.
The other two are partial specialization and primary template.
【在 c*******9 的大作中提到】 : are those two the same thing? one with after MyClass and another does : not have it.. : class MyClass { : template : class MyClass : { : ... : } : and : template