This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/60271] New: [C++1y] std::max(initializer_list<T>) cannot use std::max_element
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 19 Feb 2014 10:44:47 +0000
- Subject: [Bug libstdc++/60271] New: [C++1y] std::max(initializer_list<T>) cannot use std::max_element
- Auto-submitted: auto-generated
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.