LGTM.
================ Comment at: test/std/algorithms/alg.sorting/alg.min.max/minmax_element_comp.pass.cpp:91 @@ +90,3 @@ + constexpr auto p = std::minmax_element(il, il+8, less()); + static_assert ( *(p.first) == 1, "" ); + static_assert ( *(p.second) == 8, "" ); ---------------- You could use C++14's static assert with no error message here :P. http://reviews.llvm.org/D9409 EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/ _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
