libstdc++: Fix std::stack deduction guide
authorJonathan Wakely <jwakely@redhat.com>
Tue, 19 Oct 2021 10:38:26 +0000 (11:38 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Tue, 19 Oct 2021 14:01:16 +0000 (15:01 +0100)
commitc4ecb11e4f7ea15f636e463248c8b14083bef05d
treec15949dcdb9dfa630f1571f41f048450f13f2aad
parent82b2e4f8cf5a01c6724fe3f465a77ee03cfcaae2
libstdc++: Fix std::stack deduction guide

libstdc++-v3/ChangeLog:

* include/bits/stl_stack.h (stack(Iterator, Iterator)): Remove
non-deducible template parameter from deduction guide.
* testsuite/23_containers/stack/deduction.cc: Check new C++23
deduction guides.
libstdc++-v3/include/bits/stl_stack.h
libstdc++-v3/testsuite/23_containers/stack/deduction.cc