[libcxx-commits] [libcxx] [libcxx] removes unnecessary traits from `has_unique_object_representations` (PR #69241)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Tue Oct 24 12:28:07 PDT 2023


================
@@ -24,7 +22,7 @@ _LIBCPP_BEGIN_NAMESPACE_STD
 
 template <class _Tp>
 struct _LIBCPP_TEMPLATE_VIS has_unique_object_representations
-    : public integral_constant<bool, __has_unique_object_representations(remove_cv_t<remove_all_extents_t<_Tp>>)> {};
----------------
ldionne wrote:

There is `libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/has_unique_object_representations.pass.cpp`, but we seem to be missing a test for a multi-dimensional array.

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


More information about the libcxx-commits mailing list