Why is initialization of variable with constexpr evaluated at runtime instead of at compile time

后端 未结 0 1956
有刺的猬
有刺的猬 2021-02-01 17:08

As my understanding, the keyword constexpr is telling the compiler that the evaluation of expression can happen at compile time. Specifically, constexpr

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