[PATCH] Proposed resolution for LWG 2369: constexpr max(initializer_list) vs max_element

Marshall Clow mclow.lists at gmail.com
Thu Apr 30 11:42:49 PDT 2015


Hi EricWF,

http://www.open-std.org/jtc1/sc22/wg21/docs/lwg-active.html#2369

This is actually a simplification; since we already had an internal routine that was constexpr.

http://reviews.llvm.org/D9409

Files:
  include/algorithm
  test/std/algorithms/alg.sorting/alg.min.max/max_element.pass.cpp
  test/std/algorithms/alg.sorting/alg.min.max/max_element_comp.pass.cpp
  test/std/algorithms/alg.sorting/alg.min.max/min_element.pass.cpp
  test/std/algorithms/alg.sorting/alg.min.max/min_element_comp.pass.cpp
  test/std/algorithms/alg.sorting/alg.min.max/minmax_element.pass.cpp
  test/std/algorithms/alg.sorting/alg.min.max/minmax_element_comp.pass.cpp

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D9409.24757.patch
Type: text/x-patch
Size: 10448 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150430/09d56e7c/attachment.bin>


More information about the cfe-commits mailing list