[libcxx-commits] [PATCH] D80882: [libcxx] Allow shared_ptr's unique_ptr converting constructor to support array types.

Zoe Carver via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu Apr 8 12:52:36 PDT 2021


zoecarver added inline comments.


================
Comment at: libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/unique_ptr.pass.cpp:181
+
+#if TEST_STD_VER >= 14
+    {
----------------
`shared_ptr<array[]>` wasn't supported until C++17, so these tests shouldn't be enabled until C++17. That's why the C++14 build is failing.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D80882



More information about the libcxx-commits mailing list