Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Poison "quantized int" specializations of std::is_signed, as a first …
…step towards removing them. This specialization is not permitted per the C++ standard, and thus: - MSVC silently ignores specializations of `std::is_signed`, since VS2019 16.4. - Clang emits `error: 'is_signed' cannot be specialized: Users are not allowed to specialize this standard library entity [-Winvalid-specialization]` by default, as of Clang 20. Also, modify all relevant callers of `std::is_signed<T>` for which the change triggered a compilation failure to instead call `std::numeric_limits<T>::is_signed`. Note that `std::numeric_limits` _is_ permitted to be specialized for user types. PiperOrigin-RevId: 719339288
- Loading branch information