Share this postDaily bit(e) of C++Daily bit(e) of C++ | The <bit> headerCopy linkFacebookEmailNotesMoreDaily bit(e) of C++ | The <bit> headerDaily bit(e) of C++ #284, The C++20 set of bit manipulation and querying functions from the <bit> header.Šimon TóthOct 12, 20232Share this postDaily bit(e) of C++Daily bit(e) of C++ | The <bit> headerCopy linkFacebookEmailNotesMore1ShareC++20 introduced the <bit> header with a group of functions for manipulating and querying bits in unsigned integers.These functions were previously only available as compiler extensions.Click to open in Compiler Explorer.Leave a commentThanks for reading Daily bit(e) of C++! Subscribe for free to receive new posts and support my work.Subscribe
Wow, never knew std had popcount!! Thanks for this!