Skip to content

Commit

Permalink
Add BOOST_MOVE_FORCEINLINE for conversion operators.
Browse files Browse the repository at this point in the history
  • Loading branch information
igaztanaga committed Sep 9, 2024
1 parent 55b5a3e commit bb124ff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/boost/move/core.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -262,12 +262,12 @@

#define BOOST_COPYABLE_AND_MOVABLE(TYPE)\
public:\
inline TYPE& operator=(TYPE &t)\
BOOST_MOVE_FORCEINLINE TYPE& operator=(TYPE &t)\
{ this->operator=(const_cast<const TYPE&>(t)); return *this;}\
public:\
inline operator ::boost::rv<TYPE>&() \
BOOST_MOVE_FORCEINLINE operator ::boost::rv<TYPE>&() \
{ return *BOOST_MOVE_TO_RV_CAST(::boost::rv<TYPE>*, this); }\
inline operator const ::boost::rv<TYPE>&() const \
BOOST_MOVE_FORCEINLINE operator const ::boost::rv<TYPE>&() const \
{ return *BOOST_MOVE_TO_RV_CAST(const ::boost::rv<TYPE>*, this); }\
private:\
//
Expand Down

0 comments on commit bb124ff

Please sign in to comment.