aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/ChangeLog
diff options
context:
space:
mode:
authorChris Jefferson <chris@bubblescope.net>2007-11-12 16:01:09 +0000
committerPaolo Carlini <paolo@gcc.gnu.org>2007-11-12 16:01:09 +0000
commit7ffec97f9e001988edd8389dd994387a67c42b1c (patch)
tree68402191bb02932173ce84016692ee59daf683e9 /libstdc++-v3/ChangeLog
parent916c75b4739db757d1e820be5ba3699848505179 (diff)
downloadgcc-7ffec97f9e001988edd8389dd994387a67c42b1c.zip
gcc-7ffec97f9e001988edd8389dd994387a67c42b1c.tar.gz
gcc-7ffec97f9e001988edd8389dd994387a67c42b1c.tar.bz2
stl_deque.h (deque<>::push_back<>(_Args...), [...]): Add.
2007-11-12 Chris Jefferson <chris@bubblescope.net> Paolo Carlini <pcarlini@suse.de> * include/bits/stl_deque.h (deque<>::push_back<>(_Args...), deque<>::push_front<>(_Args...), emplace<>(iterator, _Args...), insert(iterator, _Tp&&), _M_push_back_aux<>(_Args&&...), _M_push_front_aux<>(_Args&&...), _M_insert_aux<>(iterator, _Args&&...)): Add. * include/deque/deque.tcc (insert(iterator, value_type&&), emplace<>(iterator, _Args...), _M_push_back_aux<>(_Args&&...), _M_push_front_aux<>(_Args&&...), _M_insert_aux<>(iterator, _Args&&...)): Define. (_M_insert_aux(iterator, size_type, const value_type&), _M_insert_aux<>(iterator, _ForwardIterator, _ForwardIterator, size_type)): Use _GLIBCXX_MOVE3, _GLIBCXX_MOVE_BACKWARD3, __uninitialized_move*, __uninitialized_fill_move, __uninitialized_copy_move, when possible. * include/bits/stl_uninitialized.h (__uninitialized_copy_copy, __uninitialized_fill_copy, __uninitialized_copy_fill): Remove. (__uninitialized_copy_move, __uninitialized_move_copy, __uninitialized_move_fill, __uninitialized_fill_move): Add. * include/debug/deque (deque<>::push_back<>(_Args...), deque<>::push_front<>(_Args...), emplace<>(iterator, _Args...), insert(iterator, _Tp&&)): Add. * testsuite/23_containers/deque/modifiers/moveable.cc: Enable. * testsuite/23_containers/deque/capacity/moveable.cc: Likewise. * testsuite/23_containers/deque/cons/moveable.cc: Likewise. * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Adjust dg-error line numbers. * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Likewise. * testsuite/23_containers/deque/requirements/dr438/ constructor_1_neg.cc: Likewise. * testsuite/23_containers/deque/requirements/dr438/ constructor_2_neg.cc: Likewise. * include/debug/vector (vector<>::insert(iterator, _Tp&&)): Minor tweak, prefer std::move. Co-Authored-By: Paolo Carlini <pcarlini@suse.de> From-SVN: r130102
Diffstat (limited to 'libstdc++-v3/ChangeLog')
-rw-r--r--libstdc++-v3/ChangeLog39
1 files changed, 39 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 94e8449..826b602 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,42 @@
+2007-11-12 Chris Jefferson <chris@bubblescope.net>
+ Paolo Carlini <pcarlini@suse.de>
+
+ * include/bits/stl_deque.h (deque<>::push_back<>(_Args...),
+ deque<>::push_front<>(_Args...), emplace<>(iterator, _Args...),
+ insert(iterator, _Tp&&), _M_push_back_aux<>(_Args&&...),
+ _M_push_front_aux<>(_Args&&...), _M_insert_aux<>(iterator,
+ _Args&&...)): Add.
+ * include/deque/deque.tcc (insert(iterator, value_type&&),
+ emplace<>(iterator, _Args...), _M_push_back_aux<>(_Args&&...),
+ _M_push_front_aux<>(_Args&&...), _M_insert_aux<>(iterator,
+ _Args&&...)): Define.
+ (_M_insert_aux(iterator, size_type, const value_type&),
+ _M_insert_aux<>(iterator, _ForwardIterator, _ForwardIterator,
+ size_type)): Use _GLIBCXX_MOVE3, _GLIBCXX_MOVE_BACKWARD3,
+ __uninitialized_move*, __uninitialized_fill_move,
+ __uninitialized_copy_move, when possible.
+ * include/bits/stl_uninitialized.h (__uninitialized_copy_copy,
+ __uninitialized_fill_copy, __uninitialized_copy_fill): Remove.
+ (__uninitialized_copy_move, __uninitialized_move_copy,
+ __uninitialized_move_fill, __uninitialized_fill_move): Add.
+ * include/debug/deque (deque<>::push_back<>(_Args...),
+ deque<>::push_front<>(_Args...), emplace<>(iterator, _Args...),
+ insert(iterator, _Tp&&)): Add.
+ * testsuite/23_containers/deque/modifiers/moveable.cc: Enable.
+ * testsuite/23_containers/deque/capacity/moveable.cc: Likewise.
+ * testsuite/23_containers/deque/cons/moveable.cc: Likewise.
+ * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
+ Adjust dg-error line numbers.
+ * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
+ Likewise.
+ * testsuite/23_containers/deque/requirements/dr438/
+ constructor_1_neg.cc: Likewise.
+ * testsuite/23_containers/deque/requirements/dr438/
+ constructor_2_neg.cc: Likewise.
+
+ * include/debug/vector (vector<>::insert(iterator, _Tp&&)): Minor
+ tweak, prefer std::move.
+
2007-11-11 Howard Hinnant <hhinnant@apple.com>
* include/bits/stl_pair.h (pair<>::pair<>(_U1&&, _Arg0&&,