diff --git a/include/ccmath/internal/support/ctz.hpp b/include/ccmath/internal/support/ctz.hpp index 67445e01..ccfdbd36 100644 --- a/include/ccmath/internal/support/ctz.hpp +++ b/include/ccmath/internal/support/ctz.hpp @@ -42,11 +42,7 @@ namespace ccm::support } // namespace internal template - constexpr int ctz(T /* x */) noexcept - { - static_assert(false, "Unsupported type for ctz"); // Prevent unsupported types from compiling, but give useful error. - return -1; - } + constexpr int ctz(T /* x */) noexcept; template <> constexpr int ctz(unsigned short x) noexcept