Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
celrod
· 3y ago · 0 comments
`std::popcount` was added to the stl in C++20
https://en.cppreference.com/w/cpp/numeric/popcount
Comments
[–]
asb
3y ago
Thanks for pointing that out - definitely a better choice for C++.