<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/154174>154174</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            libc++ <memory> header fails with uses_allocator_construction_args case.
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            libc++
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          edfvogel
      </td>
    </tr>
</table>

<pre>
    The following test compiles with clang++, but will fail with -stdlib=libc++ is used.   

#include <memory>

using P00 = std::pair<const int, const char>;
using A00 = std::allocator<P00>;
constexpr P00 p00(1, 'a');
constexpr A00 a00;
constexpr auto r00
  = std::uses_allocator_construction_args<P00, A00, const int, const char>(
 a00, std::move(p00));

Again, not an important issue, just wanted to make you aware of it.

Thank you,

Ed Vogel

</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJyEUstuqzwQfhqzGTUyAxawYEHTZt1F9W-rASbg1uDIl-Tv2x-ZROlFRzqSJYTnu438kfd6WplboR6Fesoohtm6lsfj2U5sst6On-3rzHC0xtiLXicI7AMMdjlpwx4uOswwGFongY_b2UMfA1y0MXAkba6IBx9Go3tRPBndD1coaA_R87gDACG7dLDQ62DiyCCK_cKLdZ-ieL4Oo0_uL1KCKJ7Ah1EUnSi6E2kniv1gVx9AryEFuP4MM7nELh7v7O43m4yxAwWbJF6kvMM3Bf7_5DbDk5QC6zxJC6xIYCWw-Q1M2pQkfl5TDBaclEJ28NM7evZv9wBvG8XFIWi7vpGb_C0S7pP011p_3RHrpE9X3N1hsWcWWG_xm3tkIbtuIr0m6GoD0Ap6OVkXaA2gvY-cJu_RB7jQGniEYGGhD4ZPG4Eu5BjsEXTYXcVeZ1o_0kzg_nrzPMJ_qT5CdtnYFmNTNJRxm1dKqTIvK5XNraKmkb065qrpueiREZuyPo4lK1JlVWe6RYlK1nmd11gWajeWSjWVrPqqKbFSuSglL6TNzpjzsrNuyrbwba7KvCozQz0bvxUb8at1AjEV3bWJ9dDHyYtSGu2D_9IJOhhuvzX1exthZhrZbeW-9f9fLwkDed5l0Zl2DuHk0-vgQeBh0mGO_W6wi8BDsr99Hk7OvvMQBB62nbzAw22tc4t_AgAA___4dCZT">