[Bug libstdc++/70101] Allocator-extended priority_queue constructors are badly broken

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Oct 5 12:02:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70101

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Wed Oct  5 12:01:57 2016
New Revision: 240781

URL: https://gcc.gnu.org/viewcvs?rev=240781&root=gcc&view=rev
Log:
PR 70101 fix allocator-extended ctors for std::priority_queue

        PR libstdc++/70101
        * include/bits/stl_queue.h (priority_queue): Fix allocator-extended
        constructors.
        * testsuite/23_containers/priority_queue/allocator.cc: New test.

Added:
    trunk/libstdc++-v3/testsuite/23_containers/priority_queue/allocator.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/bits/stl_queue.h


More information about the Gcc-bugs mailing list