gcc/libstdc++-v3/testsuite/25_algorithms
Jonathan Wakely a8028a3ee8 macros.h (__glibcxx_check_non_empty_range): Define.
* include/debug/macros.h (__glibcxx_check_non_empty_range): Define.
	* include/debug/debug.h (__glibcxx_requires_non_empty_range): Define.
	* include/debug/formatter.h (__msg_non_empty_range): Add.
	* src/debug.cc: Message text for __msg_non_empty_range.
	* include/bits/stl_heap.h (pop_heap): Check for non-empty range.
	* testsuite/25_algorithms/pop_heap/empty_neg.cc: New.

From-SVN: r181970
2011-12-03 15:35:35 +00:00
..
adjacent_find
all_of
any_of
binary_search
copy
copy_backward
copy_if
copy_n
count
count_if
equal
equal_range
fill
fill_n
find
find_end
find_first_of
find_if
find_if_not
for_each
generate/requirements/explicit_instantiation
generate_n
headers
heap
includes
inplace_merge
is_heap
is_heap_until
is_partitioned
is_permutation
is_sorted
is_sorted_until
iter_swap
lexicographical_compare
lower_bound
make_heap/requirements/explicit_instantiation
max re PR c++/51060 (Temporary object stack space is not re-used) 2011-11-12 19:44:39 -05:00
max_element
merge
min re PR c++/51060 (Temporary object stack space is not re-used) 2011-11-12 19:44:39 -05:00
min_element
minmax re PR c++/51060 (Temporary object stack space is not re-used) 2011-11-12 19:44:39 -05:00
minmax_element
mismatch
move
move_backward
next_permutation
none_of
nth_element
partial_sort
partial_sort_copy
partition
partition_copy
partition_point
pop_heap macros.h (__glibcxx_check_non_empty_range): Define. 2011-12-03 15:35:35 +00:00
prev_permutation
push_heap/requirements/explicit_instantiation
random_shuffle
remove
remove_copy/requirements/explicit_instantiation
remove_copy_if
remove_if
replace
replace_copy
replace_copy_if
replace_if
reverse
reverse_copy/explicit_instantiation
rotate
rotate_copy/requirements/explicit_instantiation
search
search_n
set_difference
set_intersection
set_symmetric_difference
set_union
shuffle
sort
sort_heap
stable_partition
stable_sort
swap
swap_ranges
transform/requirements/explicit_instantiation
unique
unique_copy
upper_bound