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 d97b303777
commit 61e9b93f7c

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 ) ) #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;
} }