[libcxx-commits] [PATCH] D97283: [libcxx][type_traits] is_unsigned is false for enum types

Arthur O'Dwyer via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Fri Feb 26 04:00:42 PST 2021


Quuxplusone accepted this revision.
Quuxplusone added a comment.

I'm not an "accepter" for libc++ (wait for @ldionne?) but sure, LGTM if it LGThim.



================
Comment at: libcxx/test/std/utilities/meta/meta.unary/meta.unary.comp/is_arithmetic.pass.cpp:102
     test_is_not_arithmetic<Enum>();
+    test_is_not_arithmetic<EnumClass>();
     test_is_not_arithmetic<FunctionPtr>();
----------------
I'd add your new EnumSigned and EnumUnsigned cases here, too.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D97283/new/

https://reviews.llvm.org/D97283



More information about the libcxx-commits mailing list