<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:akim.demaille@gmail.com" title="Akim Demaille <akim.demaille@gmail.com>"> <span class="fn">Akim Demaille</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED --- - Unsafe perfect forwarding"
   href="http://llvm.org/bugs/show_bug.cgi?id=20174">bug 20174</a>
        <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>RESOLVED
           </td>
           <td>REOPENED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>INVALID
           </td>
           <td>---
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED --- - Unsafe perfect forwarding"
   href="http://llvm.org/bugs/show_bug.cgi?id=20174#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED --- - Unsafe perfect forwarding"
   href="http://llvm.org/bugs/show_bug.cgi?id=20174">bug 20174</a>
              from <span class="vcard"><a class="email" href="mailto:akim.demaille@gmail.com" title="Akim Demaille <akim.demaille@gmail.com>"> <span class="fn">Akim Demaille</span></a>
</span></b>
        <pre>Hi Richard,

Thanks for your detailed comments.  So it all boils down to the behavior of
std::tuple's constructor, which in the case of libc++, does not require the
same number of effective arguments as the size of the tuple.

#include <tuple>
int main()
{
  std::tuple<int, int> t1(1);
}

I don't have the final C++11 standard, just a copy of the last draft, but
unless it changed quite late, I don't see how this is valid.  20.4.2.1 line 8
states that both parameter packs must have the same size.

I agree then that this would be rather a libc++ issue.  Do you agree?</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>