[llvm-bugs] [Bug 24725] max(initializer_list<T>) not constexpr

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Sep 6 10:33:07 PDT 2015


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

Marshall Clow (home) <mclow.lists at gmail.com> changed:

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

--- Comment #5 from Marshall Clow (home) <mclow.lists at gmail.com> ---
I believe that this was fixed in two revisions:
    201697 got most of it, and
    236952 got the rest.

r201697: Implement LWG2350: min, max, and minmax should be constexpr.
r236952: Fix for LWG Issue 2369: constexpr max(initializer_list) vs max_element

In any case, it is fixed in clang 3.7.

-- 
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/20150906/293fd912/attachment.html>


More information about the llvm-bugs mailing list