PR 70101 fix allocator-extended ctors for std::priority_queue
authorJonathan Wakely <jwakely@redhat.com>
Wed, 5 Oct 2016 12:01:57 +0000 (13:01 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 5 Oct 2016 12:01:57 +0000 (13:01 +0100)
commit92805612f4e0cdd33e10282eaf2cc0369bca3293
tree29862dbb05dea5afe75206b023fe6e3755a2bd8c
parenta2a64b499a0251618fc156cc70c31a9692d079be
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.

From-SVN: r240781
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/stl_queue.h
libstdc++-v3/testsuite/23_containers/priority_queue/allocator.cc [new file with mode: 0644]