Is there any way of detecting arbitrary template classes that mix types and non-types?

前端 未结 2 1305
眼角桃花
眼角桃花 2020-12-18 05:54

Is there any way of detecting whether a class is a normal type or is an instantiation of a template type (meta type) which may include non-type parameters?

2条回答
  •  有刺的猬
    2020-12-18 06:27

    No, there is not.

    Note that template classes are not classes themselves. They are templates for classes.

提交回复
热议问题