Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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




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

Search: