[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
Wed Jan 24 14:15:51 PST 2018


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

Eric Fiselier <eric at efcs.ca> changed:

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

--- Comment #16 from Eric Fiselier <eric at efcs.ca> ---
Fixed in r323380.

The fallback check which generated false-positives has been removed and
replaced to use the new Clang trait __reference_binds_to_temporary.

-- 
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/20180124/dfba22cd/attachment.html>


More information about the llvm-bugs mailing list