+2007-10-10 Paolo Carlini <pcarlini@suse.de>
+
+ * include/debug/list (list<>::list(list&&)): Fix.
+ * include/debug/vector (vector<>::vector(vector&&)): Likewise.
+ * include/debug/deque (deque<>::deque(deque&&)): Likewise.
+ * include/debug/set.h (set<>::set(set&&)): Likewise.
+ * include/debug/map.h (map<>::map(map&&)): Likewise.
+ * include/debug/multiset.h (multiset<>::multiset(multiset&&)):Likewise.
+ * include/debug/multimap.h (multimap<>::multimap(multimap&&)):Likewise.
+
2007-10-10 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/33633
#ifdef __GXX_EXPERIMENTAL_CXX0X__
deque(deque&& __x)
- : _Base(__x), _Safe_base()
+ : _Base(std::forward<deque>(__x)), _Safe_base()
{ this->_M_swap(__x); }
#endif
#ifdef __GXX_EXPERIMENTAL_CXX0X__
list(list&& __x)
- : _Base(__x), _Safe_base()
+ : _Base(std::forward<list>(__x)), _Safe_base()
{ this->_M_swap(__x); }
#endif
#ifdef __GXX_EXPERIMENTAL_CXX0X__
map(map&& __x)
- : _Base(__x), _Safe_base()
+ : _Base(std::forward<map>(__x)), _Safe_base()
{ this->_M_swap(__x); }
#endif
#ifdef __GXX_EXPERIMENTAL_CXX0X__
multimap(multimap&& __x)
- : _Base(__x), _Safe_base()
+ : _Base(std::forward<multimap>(__x)), _Safe_base()
{ this->_M_swap(__x); }
#endif
#ifdef __GXX_EXPERIMENTAL_CXX0X__
multiset(multiset&& __x)
- : _Base(__x), _Safe_base()
+ : _Base(std::forward<multiset>(__x)), _Safe_base()
{ this->_M_swap(__x); }
#endif
#ifdef __GXX_EXPERIMENTAL_CXX0X__
set(set&& __x)
- : _Base(__x), _Safe_base()
+ : _Base(std::forward<set>(__x)), _Safe_base()
{ this->_M_swap(__x); }
#endif
#ifdef __GXX_EXPERIMENTAL_CXX0X__
vector(vector&& __x)
- : _Base(__x), _Safe_base(), _M_guaranteed_capacity(this->size())
- {
+ : _Base(std::forward<vector>(__x)), _Safe_base(),
+ _M_guaranteed_capacity(this->size())
+ {
this->_M_swap(__x);
__x._M_guaranteed_capacity = 0;
}