[libc] Use SFINAE to implement is_signed/is_unsigned
authorGuillaume Chatelet <gchatelet@google.com>
Fri, 7 Apr 2023 11:57:39 +0000 (11:57 +0000)
committerGuillaume Chatelet <gchatelet@google.com>
Fri, 7 Apr 2023 11:58:38 +0000 (11:58 +0000)
commitd2a32d7be01ff94f77b26d7c86b854f09677167a
tree03b7ee45d4ceaa3a5a629e02196b4678fd9fb8f1
parent40d859154c1692e6e2d6a7ad91efd610c9b7e5be
[libc] Use SFINAE to implement is_signed/is_unsigned

This allows to use the type traits with types that are non constructible from integers.
libc/src/__support/CPP/type_traits.h