mirror of
https://github.com/boostorg/move.git
synced 2025-07-31 12:57:14 +02:00
Merge branch 'Flamefire-assignment' into develop
This commit is contained in:
@ -261,7 +261,7 @@
|
||||
#define BOOST_COPYABLE_AND_MOVABLE(TYPE)\
|
||||
public:\
|
||||
TYPE& operator=(TYPE &t)\
|
||||
{ this->operator=(const_cast<const TYPE &>(t)); return *this;}\
|
||||
{ this->operator=(static_cast<const ::boost::rv<TYPE>&>(t)); }\
|
||||
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