败犬日报 2025-05-10
1. Clang 16 不支持 constexpr std::string
,到了 17 才支持
这里是解释:
https://quuxplusone.github.io/blog/2023/09/08/constexpr-string-firewall/
https://quuxplusone.github.io/blog/2023/10/13/constexpr-string-round-2/
而 GCC 至今仍不支持,在往期讲过。