<div dir="ltr">I'm working to see if I can fix forward the template depth and constexpr issues, but I would appreciate some help from @ldionne as the original author.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Apr 30, 2021 at 12:54 PM Eric Fiselier via Phabricator <<a href="mailto:reviews@reviews.llvm.org">reviews@reviews.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">EricWF added a comment.<br>
<br>
In general this removes a bunch of carefully constructed SFINAE meant to improve compile times.<br>
I'll look into getting that back.<br>
<br>
<br>
<br>
================<br>
Comment at: libcxx/include/tuple:878<br>
+    template <class _Up1, class _Up2, class ..._DependentTp><br>
+    struct _EnableImplicitMoveFromPair : _And<<br>
+        is_constructible<_FirstType<_DependentTp...>, _Up1>,<br>
----------------<br>
Why can't we use alias templates rather than instantiating a big type here?<br>
<br>
<br>
================<br>
Comment at: libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/PR31384.pass.cpp:52<br>
+    std::tuple<Explicit> bar(std::move(d)); ((void)bar);<br>
+#if TEST_STD_VER < 17<br>
+    assert(count == 1);<br>
----------------<br>
What's going on here? Why are there different answers depending on the dialect?<br>
<br>
<br>
================<br>
Comment at: libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/tuple_array_template_depth.pass.cpp:1<br>
-//===----------------------------------------------------------------------===//<br>
-//<br>
----------------<br>
ldionne wrote:<br>
> EricWF wrote:<br>
> > Why was this file deleted?<br>
> Because the extension that allows constructing a tuple from an array was removed (as noted in the release notes).<br>
This tested template depth. And this patch broke large tuples. It should have been rewritten in some other form.<br>
<br>
We need to reallow big tuples and add another test.<br>
<br>
<br>
================<br>
Comment at: libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/tuple_array_template_depth.pass.cpp:1<br>
-//===----------------------------------------------------------------------===//<br>
-//<br>
----------------<br>
EricWF wrote:<br>
> ldionne wrote:<br>
> > EricWF wrote:<br>
> > > Why was this file deleted?<br>
> > Because the extension that allows constructing a tuple from an array was removed (as noted in the release notes).<br>
> This tested template depth. And this patch broke large tuples. It should have been rewritten in some other form.<br>
> <br>
> We need to reallow big tuples and add another test.<br>
It's worth noting that this was a conforming extension. Because `array` supports the `tuple-like` protocol. I'm disappointed this was removed.<br>
<br>
<br>
Repository:<br>
  rG LLVM Github Monorepo<br>
<br>
CHANGES SINCE LAST ACTION<br>
  <a href="https://reviews.llvm.org/D96523/new/" rel="noreferrer" target="_blank">https://reviews.llvm.org/D96523/new/</a><br>
<br>
<a href="https://reviews.llvm.org/D96523" rel="noreferrer" target="_blank">https://reviews.llvm.org/D96523</a><br>
<br>
</blockquote></div>