You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
libcxx/test/std/algorithms/alg.sorting/alg.min.max
Eric Fiselier c39fe08b20 Add diagnostics for min/max algorithms when a InputIterator is used.
These algorithms require a ForwardIterator or better. Ensure
we diagnose the contract violation at compile time instead of
of silently doing the wrong thing.

Further algorithms will be audited in upcoming patches.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@340426 91177308-0d34-0410-b5e6-96231b3b80d8
6 years ago
..
max.pass.cpp Purge all usages of _LIBCPP_STD_VER under test/std/algorithm 8 years ago
max_comp.pass.cpp Purge all usages of _LIBCPP_STD_VER under test/std/algorithm 8 years ago
max_element.pass.cpp Stop using random_shuffle in the libc++ test suite. It's going to be removed in c++17. Use shuffle() instead. No change to libc++, just the tests. 8 years ago
max_element_comp.pass.cpp Stop using random_shuffle in the libc++ test suite. It's going to be removed in c++17. Use shuffle() instead. No change to libc++, just the tests. 8 years ago
max_init_list.pass.cpp Purge all usages of _LIBCPP_STD_VER under test/std/algorithm 8 years ago
max_init_list_comp.pass.cpp Purge all usages of _LIBCPP_STD_VER under test/std/algorithm 8 years ago
min.pass.cpp Purge all usages of _LIBCPP_STD_VER under test/std/algorithm 8 years ago
min_comp.pass.cpp Purge all usages of _LIBCPP_STD_VER under test/std/algorithm 8 years ago
min_element.pass.cpp Stop using random_shuffle in the libc++ test suite. It's going to be removed in c++17. Use shuffle() instead. No change to libc++, just the tests. 8 years ago
min_element_comp.pass.cpp [libcxx] [test] Untabify, NFC. 7 years ago
min_init_list.pass.cpp Purge all usages of _LIBCPP_STD_VER under test/std/algorithm 8 years ago
min_init_list_comp.pass.cpp Purge all usages of _LIBCPP_STD_VER under test/std/algorithm 8 years ago
minmax.pass.cpp Purge all usages of _LIBCPP_STD_VER under test/std/algorithm 8 years ago
minmax_comp.pass.cpp Purge all usages of _LIBCPP_STD_VER under test/std/algorithm 8 years ago
minmax_element.pass.cpp Stop using random_shuffle in the libc++ test suite. It's going to be removed in c++17. Use shuffle() instead. No change to libc++, just the tests. 8 years ago
minmax_element_comp.pass.cpp Stop using random_shuffle in the libc++ test suite. It's going to be removed in c++17. Use shuffle() instead. No change to libc++, just the tests. 8 years ago
minmax_init_list.pass.cpp Purge all usages of _LIBCPP_STD_VER under test/std/algorithm 8 years ago
minmax_init_list_comp.pass.cpp Purge all usages of _LIBCPP_STD_VER under test/std/algorithm 8 years ago
requires_forward_iterator.fail.cpp Add diagnostics for min/max algorithms when a InputIterator is used. 6 years ago