http://llvm.org/bugs/show_bug.cgi?id=20174

Akim Demaille <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |---

--- Comment #3 from Akim Demaille <[email protected]> ---
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?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to