$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r66377 - sandbox/function/boost/function
From: dsaritz_at_[hidden]
Date: 2010-11-03 08:35:04
Author: psiha
Date: 2010-11-03 08:35:01 EDT (Wed, 03 Nov 2010)
New Revision: 66377
URL: http://svn.boost.org/trac/boost/changeset/66377
Log:
Fixed MSVC8 compilation errors.
Text files modified: 
   sandbox/function/boost/function/function_base.hpp |    10 +++-------                              
   1 files changed, 3 insertions(+), 7 deletions(-)
Modified: sandbox/function/boost/function/function_base.hpp
==============================================================================
--- sandbox/function/boost/function/function_base.hpp	(original)
+++ sandbox/function/boost/function/function_base.hpp	2010-11-03 08:35:01 EDT (Wed, 03 Nov 2010)
@@ -211,18 +211,14 @@
 
         struct thiscall_optimization_available_helper
         {
-            static void free_function () {}
-                   void bound_function() {}
+			typedef void (                                        * free_function ) ();
+			typedef void (thiscall_optimization_available_helper::* bound_function) ();
 
-            BOOST_STATIC_CONSTANT( bool, value = sizeof( &thiscall_optimization_available_helper::free_function ) == sizeof( &thiscall_optimization_available_helper::bound_function ) );
+            BOOST_STATIC_CONSTANT( bool, value = sizeof( thiscall_optimization_available_helper::free_function ) == sizeof( thiscall_optimization_available_helper::bound_function ) );
         };
 
         typedef mpl::bool_
         <
-            //...zzz...MSVC10 does not like this...
-            //sizeof( &thiscall_optimization_available_helper::free_function  )
-            //    ==
-            //sizeof( &thiscall_optimization_available_helper::bound_function )
             thiscall_optimization_available_helper::value
         > thiscall_optimization_available;