forked from boostorg/move
Undo commit b474e8c28a as it breaks some Boost libraries. Emulation limitations will be documented.
This commit is contained in:
@@ -261,7 +261,7 @@
|
||||
#define BOOST_COPYABLE_AND_MOVABLE(TYPE)\
|
||||
public:\
|
||||
BOOST_MOVE_FORCEINLINE TYPE& operator=(TYPE &t)\
|
||||
{ this->operator=(*BOOST_MOVE_TO_RV_CAST(const ::boost::rv<TYPE>*, &t)); return *this;}\
|
||||
{ this->operator=(const_cast<const TYPE&>(t)); return *this;}\
|
||||
public:\
|
||||
BOOST_MOVE_FORCEINLINE operator ::boost::rv<TYPE>&() \
|
||||
{ return *BOOST_MOVE_TO_RV_CAST(::boost::rv<TYPE>*, this); }\
|
||||
|
||||
Reference in New Issue
Block a user