1
0
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:
Christopher Hunt
2018-08-31 19:04:05 -04:00
committed by GitHub
parent 61c7a68817
commit 210da842d8

View File

@@ -70,7 +70,7 @@
//
//////////////////////////////////////////////////////////////////////////////
template <class T>
class rv
class BOOST_MOVE_ATTRIBUTE_MAY_ALIAS rv
: public ::boost::move_detail::if_c
< ::boost::move_detail::is_class<T>::value
, T
@@ -81,7 +81,7 @@
~rv() throw();
rv(rv const&);
void operator=(rv const&);
} BOOST_MOVE_ATTRIBUTE_MAY_ALIAS;
};
//////////////////////////////////////////////////////////////////////////////