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.