We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e5cf6c commit db23629Copy full SHA for db23629
src/open_viii/tools/BitOps.hpp
@@ -68,7 +68,7 @@ static consteval retT
68
* @note largest_bit_value is same as get_mask but it get_mask chooses the
69
* return type.
70
*/
71
-template<int bit_count>
+template<std::uint64_t bit_count>
72
static constexpr auto get_mask = []() {
73
static_assert(bit_count <= number_of_bits<std::uint64_t> && bit_count > 0);
74
[[maybe_unused]] constexpr auto bit_count_8 = number_of_bits<std::uint8_t>;
0 commit comments