We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
I thought it would be nice to use std::popcount() and std::countr_zero() to avoid a loop but apparently parts of the C++20 standard library are not available :-(
Counter game
You are viewing a single comment's thread. Return to all comments →
I thought it would be nice to use
std::popcount()
andstd::countr_zero()
to avoid a loop but apparently parts of the C++20 standard library are not available :-(