[llvm-bugs] [Bug 20855] tuple with a reference to a temporary (C++11): static_assert: "Attempted to construct a reference element in a tuple with an rvalue"

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Jul 19 19:59:14 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=20855

Eric Fiselier <eric at efcs.ca> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #9 from Eric Fiselier <eric at efcs.ca> ---
I've decided that these diagnostics are a feature and not a bug. Almost every
provided reproducer is actually a bug and IMO that proves the utility of these
assertions.

Please reopen if you strongly disagree.

PS: I added tests for the assertions in r276078.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160720/5a569af4/attachment.html>


More information about the llvm-bugs mailing list