This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]