Replies: 2 comments 6 replies
-
sure... would just require everyone on fishtest to update their compilers which is a bit difficult to enforce. |
Beta Was this translation helpful? Give feedback.
5 replies
-
I don't think support for C++20 is good enough to warrant that. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi chess enthusiasts!
I am playing around with the SF engine for quite some time now and I already switched to C++-20. I see some minor benefits doing so
especially with the introduction of std::popcount. This unifies the code in such a way that we do not need to write different code for different architectures. This is handled by the compiler.
Usage of std::has_single_bit in the update_blocker function. I know it is just one line of code but it improves readability instead of wordy
"b && !more_than_one(b)"
What do you think?
Beta Was this translation helpful? Give feedback.
All reactions