You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
C++29's bit_compress and bit_expand and friends #560
Activity
LB-- commentedon Oct 16, 2026
Looks handy for quickly converting between different bitmasks with options in the same order.
[-]C++29's "bit_compress"[/-][+]C++29's `bit_compress` and `bit_expand`[/+][-]C++29's `bit_compress` and `bit_expand`[/-][+]C++29's `bit_compress` and `bit_expand` and friends[/+]lefticus commentedon Oct 18, 2026
There's a lot to see with C++29's bit operations - this might end up being 2 or 3 parts?
https://en.cppreference.com/cpp/header/bit