OSDN Git Service

* include/bits/stl_heap.h (pop_heap): Check for non-empty range in
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 4 Dec 2011 13:21:53 +0000 (13:21 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 4 Dec 2011 13:21:53 +0000 (13:21 +0000)
commitcd672ed8fcc35be24f8edaffb3962ed88a6b709a
treed5211e5511c30596ca85671990c9b529f775faaf
parenta9a8389c35ebaaf2a33248c2d473e5de761a7199
* include/bits/stl_heap.h (pop_heap): Check for non-empty range in
overload taking a predicate.
* testsuite/25_algorithms/pop_heap/empty2_neg.cc: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181987 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/stl_heap.h
libstdc++-v3/testsuite/25_algorithms/pop_heap/empty2_neg.cc [new file with mode: 0644]