Hacker News new | past | comments | ask | show | jobs | submit login

The compatibility can be solved with macros to toggle it on or off depending on how you're building. C++26 has constexpr sqrt.



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...




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: