-
- Downloads
re PR libstdc++/34730 (Legal program doesn't compile with -D_GLIBCXX_DEBUG)
2008-01-12 Paolo Carlini <pcarlini@suse.de> PR libstdc++/34730 * include/debug/functions.h (__check_sorted_set, __check_sorted_set_aux): Add. (__check_sorted): Check StrictWeakOrdering. * include/debug/macros.h (__glibcxx_check_strict_weak_ordering, __glibcxx_check_strict_weak_ordering_pred): Remove. (__glibcxx_check_sorted, __glibcxx_check_sorted_pred): Adjust. (__glibcxx_check_sorted_set, __glibcxx_check_sorted_set_pred): Add. * include/debug/debug.h (__glibcxx_requires_sorted_set, __glibcxx_requires_sorted_set_pred): Add. * include/bits/stl_algo.h (merge, includes, set_union, set_intersection, set_difference, set_symmetric_difference): Adjust, use __glibcxx_requires_sorted_set* instead. * testsuite/25_algorithms/set_intersection/34730.cc: New. From-SVN: r131500
Showing
- libstdc++-v3/ChangeLog 17 additions, 0 deletionslibstdc++-v3/ChangeLog
- libstdc++-v3/include/bits/stl_algo.h 30 additions, 28 deletionslibstdc++-v3/include/bits/stl_algo.h
- libstdc++-v3/include/debug/debug.h 7 additions, 1 deletionlibstdc++-v3/include/debug/debug.h
- libstdc++-v3/include/debug/functions.h 80 additions, 7 deletionslibstdc++-v3/include/debug/functions.h
- libstdc++-v3/include/debug/macros.h 20 additions, 14 deletionslibstdc++-v3/include/debug/macros.h
- libstdc++-v3/testsuite/25_algorithms/set_intersection/34730.cc 51 additions, 0 deletions...dc++-v3/testsuite/25_algorithms/set_intersection/34730.cc
Loading
Please register or sign in to comment