aboutsummaryrefslogtreecommitdiff
path: root/libphobos/libdruntime/gcc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2019-02-14 14:10:19 +0000
committerJonathan Wakely <redi@gcc.gnu.org>2019-02-14 14:10:19 +0000
commit1f4dcbf7cd8c60457ab9b156017db6e39293657b (patch)
tree6ac02bd086b09b0ffa91eed3f4b04f100fb52ea1 /libphobos/libdruntime/gcc
parent1138a19dfe5029e6ead3bb26bb344bddce9f24f0 (diff)
downloadgcc-1f4dcbf7cd8c60457ab9b156017db6e39293657b.zip
gcc-1f4dcbf7cd8c60457ab9b156017db6e39293657b.tar.gz
gcc-1f4dcbf7cd8c60457ab9b156017db6e39293657b.tar.bz2
LWG 2537 fix priority_queue constructors to establish invariant
This change is safe to make now (in stage 4), because the constructors are currently incorrect and unusable (unless the supplied container already contains a heap, in which case the new make_heap calls are redundant but harmless). * doc/xml/manual/intro.xml: Document LWG 2537 status. * include/bits/stl_queue.h (priority_queue(const Compare&, const Container&, const Alloc&)) (priority_queue(const Compare&, Container&&, const Alloc&)): Call make_heap. * testsuite/23_containers/priority_queue/dr2537.cc: New test. From-SVN: r268878
Diffstat (limited to 'libphobos/libdruntime/gcc')
0 files changed, 0 insertions, 0 deletions