r/cpp • u/STL MSVC STL Dev • Sep 10 '26
MSVC C++23: constexpr cmath with LLVM Libc
https://devblogs.microsoft.com/cppblog/msvc-c23-constexpr-cmath-with-llvm-libc/MSVC is shipping C++23 constexpr <cmath> in the next Build Tools update! (And a partial implementation of C++26 constexpr <cmath>.) Our compiler frontend dev Cody Miller will be publishing a series of blog posts about this work, starting with this overview. The next one will be a guest post from LLVM libc's maintainers describing the incredible amount of effort that's gone into their code.
180
Upvotes
View all comments
Show parent comment
10
u/GabrielDosReis Sep 11 '26
When I was working on libtsdc++ as maintainer and contributor, we had similar divide: there was/is the C++ standard library that relied on the host system's C runtime (glibc, your non-glibc, etc.) It is a general problem.