Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
agosz
· 1y ago · 0 comments
The compatibility can be solved with macros to toggle it on or off depending on how you're building. C++26 has constexpr sqrt.
Comments
[–]
pjmlp
1y ago
There is a paper suggesting to replace all macro based code, due to way modules work.
https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2025/p26...