diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2017-03-16 14:32:07 +0000 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2017-03-16 14:32:07 +0000 |
commit | 8d85abab445d4f458826f4ef3acbc83091257c8b (patch) | |
tree | 92da033617f64f22ad263a8ad61b0ce6a424157e /libstdc++-v3/src | |
parent | 7acc5349773cfe101d6ed116be30e15eb71b0d0f (diff) | |
download | gcc-8d85abab445d4f458826f4ef3acbc83091257c8b.zip gcc-8d85abab445d4f458826f4ef3acbc83091257c8b.tar.gz gcc-8d85abab445d4f458826f4ef3acbc83091257c8b.tar.bz2 |
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.
From-SVN: r246197
Diffstat (limited to 'libstdc++-v3/src')
0 files changed, 0 insertions, 0 deletions