Error when creating a pointer of template object, “the value of `num` is not usable in a constant exp”

后端 未结 0 1673
栀梦
栀梦 2020-12-04 10:22

I\'m trying to create a pointer of template object using it\'s constructor:

int num = 10;
templateClass* test         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题