Fork me on GitHub
摘要: 最近在使用constexpr的时候无意中踩了个小坑。 下面给个小示例: #include <iostream> constexpr int n = 10; constexpr char *msg = "Hello, world!"; int main() { for (auto i = 0; i < 阅读全文
posted @ 2021-05-14 21:18 apocelipes 阅读(4411) 评论(0) 推荐(1) 编辑