[libc-commits] [libc] [libc] disable -Wtype-limits in wctob (PR #74511)

Joseph Huber via libc-commits libc-commits at lists.llvm.org
Tue Dec 5 11:05:24 PST 2023


jhuber6 wrote:

> my SFINAE skills are rusty, but I wonder if `std::is_signed` can be used here?

I was just about to comment the same thing. We should be able to do something like this
```c++
if constexpr (cpp::is_signed<wint_t>) {
} else {
}
```

https://github.com/llvm/llvm-project/pull/74511


More information about the libc-commits mailing list