gcc/libstdc++-v3/testsuite/25_algorithms/search_n
Mitsuru Kariya 4b47d65500 re PR libstdc++/58358 (search_n has a Complexity violation for random access iterator)
2013-09-11  Mitsuru Kariya  <kariya_mitsuru@hotmail.com>
	    Chris Jefferson  <chris@bubblescope.net>

	PR libstdc++/58358
	* include/bits/stl_algo.h (search_n): Fix to guarantee a number
	of comparisons <= number of elements in the range.
	* testsuite/25_algorithms/search_n/58358.cc: New.
	* testsuite/25_algorithms/search_n/iterator.cc: Extend.

Co-Authored-By: Chris Jefferson <chris@bubblescope.net>

From-SVN: r202510
2013-09-11 22:24:50 +00:00
..
requirements/explicit_instantiation
11400.cc
58358.cc re PR libstdc++/58358 (search_n has a Complexity violation for random access iterator) 2013-09-11 22:24:50 +00:00
check_type.cc
iterator.cc re PR libstdc++/58358 (search_n has a Complexity violation for random access iterator) 2013-09-11 22:24:50 +00:00