1
0
forked from boostorg/core

Try the Sun workaround with int instead of size_t.

[SVN r51986]
This commit is contained in:
Peter Dimov
2009-03-26 13:05:05 +00:00
parent 82d77c20eb
commit 5d3d9f60d8

View File

@@ -60,7 +60,7 @@ template<class T> T * addressof( T & v )
#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;
}