Replace utils::cnttz{32,64} with std::countr_{zero,one}
Make #include <bit> mandatory.
This commit is contained in:
+5
-2
@@ -17,9 +17,12 @@
|
||||
#include <limits>
|
||||
#include <array>
|
||||
|
||||
#if __has_include(<bit>)
|
||||
#include <bit>
|
||||
#ifdef _MSC_VER
|
||||
#ifndef __cpp_lib_bitops
|
||||
#define __cpp_lib_bitops
|
||||
#endif
|
||||
#endif
|
||||
#include <bit>
|
||||
|
||||
#ifndef __has_builtin
|
||||
#define __has_builtin(x) 0
|
||||
|
||||
Reference in New Issue
Block a user