How to tell if template type is an instance of a template class?

前端 未结 3 1468
南旧
南旧 2021-01-19 02:41

I have a function that takes a template type to determine a return value. Is there any way to tell at compile time if the template type is some instantiation of a template c

3条回答