Allocator-extended constructors for container adaptors.
authorJonathan Wakely <jwakely@redhat.com>
Fri, 11 Sep 2015 09:51:29 +0000 (10:51 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Fri, 11 Sep 2015 09:51:29 +0000 (10:51 +0100)
commit997ed914e2c1ca4083affd78fd22569f5e734d08
treeb4f480f65886207a7d569f6ddc85da53a5702d68
parent09fcd8e1491fa20f45b546144e18e201458e925d
Allocator-extended constructors for container adaptors.

PR libstdc++/65092
* include/bits/stl_queue.h (queue, priority_queue): Add
allocator-extended constructors.
* include/bits/stl_stack.h (stack): Likewise.
* testsuite/23_containers/priority_queue/requirements/
uses_allocator.cc: Test allocator-extended constructors.
* testsuite/23_containers/queue/requirements/uses_allocator.cc:
Likewise.
* testsuite/23_containers/stack/requirements/uses_allocator.cc:
Likewise.

From-SVN: r227680
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/stl_queue.h
libstdc++-v3/include/bits/stl_stack.h
libstdc++-v3/testsuite/23_containers/priority_queue/requirements/uses_allocator.cc
libstdc++-v3/testsuite/23_containers/queue/requirements/uses_allocator.cc
libstdc++-v3/testsuite/23_containers/stack/requirements/uses_allocator.cc