[Bug libstdc++/89128] Missing CTAD deduction guides for std::stack and std::queue
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Feb 8 14:16:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89128
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
done
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Fri Feb 8 14:15:03 2019
New Revision: 268691
URL: https://gcc.gnu.org/viewcvs?rev=268691&root=gcc&view=rev
Log:
PR libstdc++/89128 add deduction guides for container adaptors
Backport from mainline
2019-02-05 Jonathan Wakely <jwakely@redhat.com>
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.
Added:
branches/gcc-8-branch/libstdc++-v3/testsuite/23_containers/priority_queue/deduction.cc
branches/gcc-8-branch/libstdc++-v3/testsuite/23_containers/queue/deduction.cc
branches/gcc-8-branch/libstdc++-v3/testsuite/23_containers/stack/deduction.cc
Modified:
branches/gcc-8-branch/libstdc++-v3/ChangeLog
branches/gcc-8-branch/libstdc++-v3/include/bits/stl_queue.h
branches/gcc-8-branch/libstdc++-v3/include/bits/stl_stack.h
More information about the Gcc-bugs
mailing list