This is the mail archive of the
libstdc++-cvs@gcc.gnu.org
mailing list for the libstdc++ project.
r181970 - in /trunk/libstdc++-v3: ChangeLog inc...
- From: redi at gcc dot gnu dot org
- To: libstdc++-cvs at gcc dot gnu dot org
- Date: Sat, 03 Dec 2011 15:35:36 -0000
- Subject: r181970 - in /trunk/libstdc++-v3: ChangeLog inc...
Author: redi
Date: Sat Dec 3 15:35:35 2011
New Revision: 181970
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=181970
Log:
* 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.
Added:
trunk/libstdc++-v3/testsuite/25_algorithms/pop_heap/empty_neg.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/bits/stl_heap.h
trunk/libstdc++-v3/include/debug/debug.h
trunk/libstdc++-v3/include/debug/formatter.h
trunk/libstdc++-v3/include/debug/macros.h
trunk/libstdc++-v3/src/debug.cc