[llvm-bugs] [Bug 40124] [regression] std::array<int, 0>::begin() should be constexpr but isn't

via llvm-bugs llvm-bugs at lists.llvm.org
Thu May 28 09:33:58 PDT 2020


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

Louis Dionne <ldionne at apple.com> changed:

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

--- Comment #23 from Louis Dionne <ldionne at apple.com> ---
This should be fixed by:

    commit 77b9abfc8e89ca627e4f9a1cc206bea131db6db1
    Author: Louis Dionne <ldionne at apple.com>
    Date:   Fri May 22 09:59:48 2020 -0400

        [libc++] Complete overhaul of constexpr support in std::array

        This commit adds missing support for constexpr in std::array under all
        standard modes up to and including C++20. It also transforms the
<array>
        tests to check for constexpr-friendliness under the right standard
modes.

        Fixes https://llvm.org/PR40124
        Fixes rdar://57522096
        Supersedes https://reviews.llvm.org/D60666

        Differential Revision: https://reviews.llvm.org/D80452

-- 
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/20200528/97c62f5e/attachment.html>


More information about the llvm-bugs mailing list