mirror of
https://github.com/boostorg/utility.git
synced 2025-05-09 15:04:00 +00:00
Try the Sun workaround with int instead of size_t.
[SVN r51986]
This commit is contained in:
parent
d97b303777
commit
61e9b93f7c
@ -60,7 +60,7 @@ template<class T> T * addressof( T & v )
|
|||||||
|
|
||||||
#if defined( __SUNPRO_CC ) && BOOST_WORKAROUND( __SUNPRO_CC, BOOST_TESTED_AT( 0x590 ) )
|
#if defined( __SUNPRO_CC ) && BOOST_WORKAROUND( __SUNPRO_CC, BOOST_TESTED_AT( 0x590 ) )
|
||||||
|
|
||||||
template<class T, std::size_t N> T (*addressof(T (&t)[N]))[N]
|
template<class T, int N> T (*addressof(T (&t)[N]))[N]
|
||||||
{
|
{
|
||||||
return &t;
|
return &t;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user