[Bug libstdc++/60271] New: [C++1y] std::max(initializer_list<T>) cannot use std::max_element

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Feb 19 10:44:00 GMT 2014


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60271

            Bug ID: 60271
           Summary: [C++1y] std::max(initializer_list<T>) cannot use
                    std::max_element
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: redi at gcc dot gnu.org

http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n3893.html#2350
(approved in Issaquah) adds constexpr to std::max(initializer_list<T>), which
means we can't use std::max_element to implement it.



More information about the Gcc-bugs mailing list