|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r51986 - trunk/boost/utility
From: pdimov_at_[hidden]
Date: 2009-03-26 09:05:06
Author: pdimov
Date: 2009-03-26 09:05:05 EDT (Thu, 26 Mar 2009)
New Revision: 51986
URL: http://svn.boost.org/trac/boost/changeset/51986
Log:
Try the Sun workaround with int instead of size_t.
Text files modified:
trunk/boost/utility/addressof.hpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: trunk/boost/utility/addressof.hpp
==============================================================================
--- trunk/boost/utility/addressof.hpp (original)
+++ trunk/boost/utility/addressof.hpp 2009-03-26 09:05:05 EDT (Thu, 26 Mar 2009)
@@ -60,7 +60,7 @@
#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;
}
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk