]> git.ipfire.org Git - thirdparty/gcc.git/commit - libstdc++-v3/include/bits/stl_queue.h
PR libstdc++/89128 add deduction guides for container adaptors
authorJonathan Wakely <jwakely@redhat.com>
Tue, 5 Feb 2019 22:58:22 +0000 (22:58 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Tue, 5 Feb 2019 22:58:22 +0000 (22:58 +0000)
commit5bb89e0a286ddb335b3441dc3f8c2e090a53c6af
tree005729a73d52e662ea45825bbfcd58be65a972b2
parentd397e3948ec945c8c3b4dc695e1b0b5820365a39
PR libstdc++/89128 add deduction guides for container adaptors

PR libstdc++/89128
* include/bits/stl_queue.h (queue, priority_queue): Add deduction
guides.
* include/bits/stl_stack.h (stack): Likewise.
* testsuite/23_containers/priority_queue/deduction.cc: New test.
* testsuite/23_containers/queue/deduction.cc: New test.
* testsuite/23_containers/stack/deduction.cc: New test.

From-SVN: r268566
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/stl_queue.h
libstdc++-v3/include/bits/stl_stack.h
libstdc++-v3/testsuite/23_containers/priority_queue/deduction.cc [new file with mode: 0644]
libstdc++-v3/testsuite/23_containers/queue/deduction.cc [new file with mode: 0644]
libstdc++-v3/testsuite/23_containers/stack/deduction.cc [new file with mode: 0644]