mirror of
https://github.com/boostorg/core.git
synced 2025-07-30 04:47:24 +02:00
Update addressof.hpp
To update ticket# 10311
This commit is contained in:
@ -107,7 +107,7 @@ template<class T>
|
|||||||
BOOST_FORCEINLINE
|
BOOST_FORCEINLINE
|
||||||
T * addressof( T & v )
|
T * addressof( T & v )
|
||||||
{
|
{
|
||||||
#if (defined( __BORLANDC__ ) && BOOST_WORKAROUND( __BORLANDC__, BOOST_TESTED_AT( 0x610 ) ) ) || defined( __SUNPRO_CC )
|
#if (defined( __BORLANDC__ ) && BOOST_WORKAROUND( __BORLANDC__, BOOST_TESTED_AT( 0x610 ) ) ) || (defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x5120))
|
||||||
|
|
||||||
return boost::detail::addressof_impl<T>::f( v, 0 );
|
return boost::detail::addressof_impl<T>::f( v, 0 );
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user