]> gcc.gnu.org Git - gcc.git/commit
PR libstdc++/55977 (partial, std::vector and std::deque bits)
authorPaolo Carlini <paolo.carlini@oracle.com>
Mon, 18 Mar 2013 10:15:56 +0000 (10:15 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Mon, 18 Mar 2013 10:15:56 +0000 (10:15 +0000)
commitad6fdc197621e1f48d72df91f021c187949ba6c2
tree6fc41f02b4bc018516c1b4ae8f62d2fc9cab8d3c
parent9fa5223135cf837e920329b2aee6f87f9515d231
PR libstdc++/55977 (partial, std::vector and std::deque bits)

2013-03-18  Paolo Carlini  <paolo.carlini@oracle.com>

PR libstdc++/55977 (partial, std::vector and std::deque bits)
* include/bits/stl_vector.h (_M_range_initialize(_InputIterator,
_InputIterator, std::input_iterator_tag)): Use emplace_back.
* include/bits/deque.tcc (_M_range_initialize(_InputIterator,
_InputIterator, std::input_iterator_tag)): Likewise.
* testsuite/23_containers/vector/cons/55977.cc: New.
* testsuite/23_containers/deque/cons/55977.cc: Likewise.
* testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
Adjust dg-error line number.
* testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
Likewise.

From-SVN: r196774
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/deque.tcc
libstdc++-v3/include/bits/stl_vector.h
libstdc++-v3/testsuite/23_containers/deque/cons/55977.cc [new file with mode: 0644]
libstdc++-v3/testsuite/23_containers/vector/cons/55977.cc [new file with mode: 0644]
libstdc++-v3/testsuite/23_containers/vector/requirements/dr438/assign_neg.cc
libstdc++-v3/testsuite/23_containers/vector/requirements/dr438/insert_neg.cc
This page took 0.055689 seconds and 5 git commands to generate.