Y
Hacker News
new
|
ask
|
show
|
jobs
by
agosz
506 days ago
The compatibility can be solved with macros to toggle it on or off depending on how you're building. C++26 has constexpr sqrt.
1 comments
pjmlp
506 days 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...
link
https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2025/p26...