------- Comment #5 from paolo at gcc dot gnu dot org 2006-03-27 20:33 ------- Subject: Bug 26733
Author: paolo Date: Mon Mar 27 20:33:41 2006 New Revision: 112426 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=112426 Log: 2006-03-27 Paolo Carlini <[EMAIL PROTECTED]> PR libstdc++/26733 * include/bits/basic_string.h (operator[]): Commit for real 2005-05-19 mainline change, lost in a merge. * include/debug/deque (deque<>::deque(__gnu_cxx::__rvalref<>), deque<>::operator=(__gnu_cxx::__rvalref<>)): Add (struct __is_moveable<std::__debug::deque<> >): Add. * include/debug/list (list<>::list(__gnu_cxx::__rvalref<>), list<>::operator=(__gnu_cxx::__rvalref<>)): Add (struct __is_moveable<std::__debug::list<> >): Add. * include/debug/map.h (map<>::map(__gnu_cxx::__rvalref<>), map<>::operator=(__gnu_cxx::__rvalref<>)): Add. (struct __is_moveable<std::__debug::map<> >): Add. * include/debug/multimap.h (multimap<>::multimap(__gnu_cxx:: __rvalref<>), multimap<>::operator=(__gnu_cxx::__rvalref<>)): Add. (struct __is_moveable<std::__debug::multimap<> >): Add. * include/debug/multiset.h (multiset<>::multiset(__gnu_cxx:: __rvalref<>), multiset<>::operator=(__gnu_cxx::__rvalref<>)): Add (struct __is_moveable<std::__debug::multiset<> >): Add. * include/debug/set.h (set<>::set(__gnu_cxx::__rvalref<>), set<>::operator=(__gnu_cxx::__rvalref<>)): Add. (struct __is_moveable<std::__debug::set<> >): Add. * include/debug/vector (vector<>::vector(__gnu_cxx:: __rvalref<>), vector<>::operator=(__gnu_cxx::__rvalref<>)): Add (struct __is_moveable<std::__debug::vector<> >): Add. * testsuite/23_containers/deque/resize/moveable.cc: In debug mode allow for one additional copy for each resize, due to the by value second argument. * testsuite/23_containers/vector/resize/moveable.cc: Likewise. Modified: branches/libstdcxx_so_7-branch/libstdc++-v3/ChangeLog.libstdcxx_so_7-branch branches/libstdcxx_so_7-branch/libstdc++-v3/include/bits/basic_string.h branches/libstdcxx_so_7-branch/libstdc++-v3/include/debug/deque branches/libstdcxx_so_7-branch/libstdc++-v3/include/debug/list branches/libstdcxx_so_7-branch/libstdc++-v3/include/debug/map.h branches/libstdcxx_so_7-branch/libstdc++-v3/include/debug/multimap.h branches/libstdcxx_so_7-branch/libstdc++-v3/include/debug/multiset.h branches/libstdcxx_so_7-branch/libstdc++-v3/include/debug/set.h branches/libstdcxx_so_7-branch/libstdc++-v3/include/debug/vector branches/libstdcxx_so_7-branch/libstdc++-v3/testsuite/23_containers/deque/resize/moveable.cc branches/libstdcxx_so_7-branch/libstdc++-v3/testsuite/23_containers/vector/resize/moveable.cc -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26733