使用constexpr时遇到的小坑 最近在使用constexpr的时候无意中踩了个小坑。下面给个小示例:#include constexpr int n = 10;constexpr char *msg = "Hello, world!";int main(){ for (auto ...