forked from boostorg/move
Move may_alias attribute for xlC++ compatibility.
This also aligns usage of the `may_alias` attribute with other boost libraries. Fixes #19.
This commit is contained in:
@@ -70,7 +70,7 @@
|
|||||||
//
|
//
|
||||||
//////////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////////
|
||||||
template <class T>
|
template <class T>
|
||||||
class rv
|
class BOOST_MOVE_ATTRIBUTE_MAY_ALIAS rv
|
||||||
: public ::boost::move_detail::if_c
|
: public ::boost::move_detail::if_c
|
||||||
< ::boost::move_detail::is_class<T>::value
|
< ::boost::move_detail::is_class<T>::value
|
||||||
, T
|
, T
|
||||||
@@ -81,7 +81,7 @@
|
|||||||
~rv() throw();
|
~rv() throw();
|
||||||
rv(rv const&);
|
rv(rv const&);
|
||||||
void operator=(rv const&);
|
void operator=(rv const&);
|
||||||
} BOOST_MOVE_ATTRIBUTE_MAY_ALIAS;
|
};
|
||||||
|
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////////
|
||||||
|
Reference in New Issue
Block a user