move-assign for vector

[SVN r80345]
This commit is contained in:
Joel de Guzman
2012-09-01 02:01:26 +00:00
parent 705ca2b61b
commit a53f93ff1a
5 changed files with 57 additions and 51 deletions

View File

@ -135,15 +135,6 @@ namespace boost { namespace fusion {
}
#if !defined(BOOST_NO_RVALUE_REFERENCES)
template <BOOST_PP_ENUM_PARAMS(FUSION_MAX_DEQUE_SIZE, typename U)>
deque&
operator=(deque<BOOST_PP_ENUM_PARAMS(FUSION_MAX_DEQUE_SIZE, U)>&& rhs)
{
base::operator=(std::forward<
deque<BOOST_PP_ENUM_PARAMS(FUSION_MAX_DEQUE_SIZE, U)>>(rhs));
return *this;
}
template <typename T>
deque&
operator=(T&& rhs)