How do I check my template class is of a specific classtype?

后端 未结 8 2622
小蘑菇
小蘑菇 2020-12-16 11:04

In my template-ized function, I\'m trying to check the type T is of a specific type. How would I do that?

p/s I knew the template specification way but I don\'t want

8条回答
提交回复
热议问题