mirror of
https://github.com/boostorg/move.git
synced 2025-08-02 13:44:28 +02:00
Merge branch 'assignment' of https://github.com/Flamefire/move into Flamefire-assignment
This commit is contained in:
@@ -261,7 +261,7 @@
|
|||||||
#define BOOST_COPYABLE_AND_MOVABLE(TYPE)\
|
#define BOOST_COPYABLE_AND_MOVABLE(TYPE)\
|
||||||
public:\
|
public:\
|
||||||
TYPE& operator=(TYPE &t)\
|
TYPE& operator=(TYPE &t)\
|
||||||
{ this->operator=(const_cast<const TYPE &>(t)); return *this;}\
|
{ this->operator=(static_cast<const ::boost::rv<TYPE>&>(t)); }\
|
||||||
public:\
|
public:\
|
||||||
BOOST_MOVE_FORCEINLINE operator ::boost::rv<TYPE>&() \
|
BOOST_MOVE_FORCEINLINE operator ::boost::rv<TYPE>&() \
|
||||||
{ return *BOOST_MOVE_TO_RV_CAST(::boost::rv<TYPE>*, this); }\
|
{ return *BOOST_MOVE_TO_RV_CAST(::boost::rv<TYPE>*, this); }\
|
||||||
|
Reference in New Issue
Block a user