bit_pattern - MichaelMiller-/sec21 GitHub Wiki
#include <sec21/bit_pattern.h>
Matches the bits via a pattern. The letter x represents a placeholder.
static_assert(0b1101010u == bit_pattern("11xxx10"));
#include <sec21/bit_pattern.h>
Matches the bits via a pattern. The letter x represents a placeholder.
static_assert(0b1101010u == bit_pattern("11xxx10"));