[libcxx-commits] [libcxx] [libc++] Extend is_trivially_equality_comparable to integral types with the same signedness and size (PR #70344)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Thu Oct 26 09:10:29 PDT 2023


================
@@ -10,9 +10,11 @@
 #define _LIBCPP___TYPE_TRAITS_IS_EQUALITY_COMPARABLE_H
 
 #include <__config>
+#include <__type_traits/enable_if.h>
----------------
ldionne wrote:

Can we update at least `libcxx/test/std/algorithms/alg.nonmodifying/alg.equal/equal.pass.cpp` to add a test where we exercise this new code path? Seems useful to ensure that it works.

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


More information about the libcxx-commits mailing list