WingNews logo WingNews
top | new | best | ask | show | jobs
top | item 42816703

(no title)

agosz | 1 year 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.

discuss

order

pjmlp|1 year 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...

powered by hn/api // news.ycombinator.com