forked from boostorg/fusion
Added copy assign to deque(03).
move ctor will delete defaulted copy assign.
This commit is contained in:
@ -159,6 +159,14 @@ FUSION_HASH if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
|
|||||||
base::operator=(BOOST_FUSION_FWD_ELEM(T, rhs));
|
base::operator=(BOOST_FUSION_FWD_ELEM(T, rhs));
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
// This copy op= is required because move ctor deletes copy op=.
|
||||||
|
BOOST_CXX14_CONSTEXPR BOOST_FUSION_GPU_ENABLED
|
||||||
|
deque&
|
||||||
|
operator=(deque const& rhs)
|
||||||
|
{
|
||||||
|
base::operator=(static_cast<base const&>(rhs));
|
||||||
|
return *this;
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
|
#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
|
||||||
FUSION_HASH endif
|
FUSION_HASH endif
|
||||||
|
Reference in New Issue
Block a user