r246197 - in /trunk/libstdc++-v3: ChangeLog inc...
redi@gcc.gnu.org
redi@gcc.gnu.org
Thu Mar 16 14:32:00 GMT 2017
Author: redi
Date: Thu Mar 16 14:32:07 2017
New Revision: 246197
URL: https://gcc.gnu.org/viewcvs?rev=246197&root=gcc&view=rev
Log:
PR libstdc++/80064 make heap algorithms work with function types
PR libstdc++/80064
* include/bits/stl_heap.h (__is_heap, push_heap, __adjust_heap)
(pop_heap, make_heap, sort_heap, is_heap_until, is_heap): Cope with
invalid instantiations using function types for _Compare argument.
* testsuite/25_algorithms/make_heap/80064.cc: New test.
Added:
trunk/libstdc++-v3/testsuite/25_algorithms/make_heap/80064.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/bits/stl_heap.h
More information about the Libstdc++-cvs
mailing list