From 61e9b93f7ccedb675e0b562e81e53510d6896e94 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Thu, 26 Mar 2009 13:05:05 +0000 Subject: [PATCH] Try the Sun workaround with int instead of size_t. [SVN r51986] --- include/boost/utility/addressof.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/utility/addressof.hpp b/include/boost/utility/addressof.hpp index 2ebaefb..bea9a01 100644 --- a/include/boost/utility/addressof.hpp +++ b/include/boost/utility/addressof.hpp @@ -60,7 +60,7 @@ template T * addressof( T & v ) #if defined( __SUNPRO_CC ) && BOOST_WORKAROUND( __SUNPRO_CC, BOOST_TESTED_AT( 0x590 ) ) -template T (*addressof(T (&t)[N]))[N] +template T (*addressof(T (&t)[N]))[N] { return &t; }