]> git.ipfire.org Git - thirdparty/gcc.git/commit
Add deduction guides for sequence containers (P0433R2, partial)
authorJonathan Wakely <jwakely@redhat.com>
Fri, 9 Jun 2017 11:04:53 +0000 (12:04 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Fri, 9 Jun 2017 11:04:53 +0000 (12:04 +0100)
commit225ab2b07b41d0f373efd574e962f90e8b73d46a
tree3e4807069bd45f0742af75d26dfd8ed795c0063e
parent01a8cacc96f2b5c1df5be8af746f758006c11511
Add deduction guides for sequence containers (P0433R2, partial)

* include/bits/forward_list.h (forward_list): Add deduction guide.
* include/bits/stl_deque.h (deque): Likewise.
* include/bits/stl_list.h (list): Likewise.
* include/bits/stl_vector.h (vector): Likewise.
* testsuite/23_containers/deque/cons/deduction.cc: New.
* testsuite/23_containers/forward_list/cons/deduction.cc: New.
* testsuite/23_containers/list/cons/deduction.cc: New.
* testsuite/23_containers/vector/cons/deduction.cc: New.

From-SVN: r249054
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/forward_list.h
libstdc++-v3/include/bits/stl_deque.h
libstdc++-v3/include/bits/stl_list.h
libstdc++-v3/include/bits/stl_vector.h
libstdc++-v3/testsuite/23_containers/deque/cons/deduction.cc [new file with mode: 0644]
libstdc++-v3/testsuite/23_containers/forward_list/cons/deduction.cc [new file with mode: 0644]
libstdc++-v3/testsuite/23_containers/list/cons/deduction.cc [new file with mode: 0644]
libstdc++-v3/testsuite/23_containers/vector/cons/deduction.cc [new file with mode: 0644]