how to get the value of a variable in a string at compile time in C++?

前端 未结 0 325
时光说笑
时光说笑 2020-12-11 06:48

Imagine I have this code:

int a = 10;
int b = magic("3+a");

Is it possible in C++ to write magic, so that it calculate

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