| 13 | template <class R> |
| 14 | struct BitUtils { |
| 15 | static constexpr R Mask(unsigned int const bits) { |
| 16 | return (((uint64_t)(bits < (sizeof(R) * 8))) << (bits & ((sizeof(R) * 8) - 1))) - 1U; |
| 17 | } |
| 18 | }; |
| 19 | |
| 20 | } // namespace alp_bench |
nothing calls this directly
no outgoing calls
no test coverage detected