1、常量表达式 (1)运行时常量性和编译时常量性 #include <iostream> /* 运行时常量性:const,也即是具有运行数据的不可更改性! 编译时常量性:constexpr */ const int GetConst() { return 1;