We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We are currently using compiler builtins:
__builtin_clz
__builtin_clzll
__builtin_ctz
__builtin_ctzll
__builtin_popcount
__builtin_popcountll
These can be replaced with the new C++20 features proposed (see https://en.cppreference.com/w/cpp/numeric).
For an idea how to write such a wrapper, check out lib/fizzy/cxx20/span.hpp.
lib/fizzy/cxx20/span.hpp
The text was updated successfully, but these errors were encountered:
Hello, I have been reading about c++20 features and would like to try solve this issue.
Sorry, something went wrong.
Hi @herobank110,
you can start with a simple task as follows:
popcount
cxx20/bit.hpp
Correction, start with something other than popcount as it is being done in #551.
I made an wrapper of countl_zero. Please can you check it? #570
axic
Successfully merging a pull request may close this issue.
We are currently using compiler builtins:
__builtin_clz
__builtin_clzll
__builtin_ctz
__builtin_ctzll
__builtin_popcount
__builtin_popcountll
These can be replaced with the new C++20 features proposed (see https://en.cppreference.com/w/cpp/numeric).
For an idea how to write such a wrapper, check out
lib/fizzy/cxx20/span.hpp
.The text was updated successfully, but these errors were encountered: