Parameters of an immediate function

后端 未结 0 850
北海茫月
北海茫月 2020-12-31 17:55

Why are parameters of immediate (consteval) functions are not considered constant expressions?

consteval void func(int x)
{
   int arr[x]; // not         


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