common: bit_util: Add IsPow2 helper function
Makes use of std::has_single_bit() to check whether the value is a power of 2.master
parent
b3308830b2
commit
d92b5fc435
Loading…
Reference in New Issue