$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
From: tschwinger_at_[hidden]
Date: 2008-01-16 14:16:37
Author: t_schwinger
Date: 2008-01-16 14:16:37 EST (Wed, 16 Jan 2008)
New Revision: 42821
URL: http://svn.boost.org/trac/boost/changeset/42821
Log:
works around MSVC7.1 problems (hopefully)
Text files modified: 
   trunk/libs/function_types/example/fast_mem_fn_example.cpp |     4 ++++                                    
   1 files changed, 4 insertions(+), 0 deletions(-)
Modified: trunk/libs/function_types/example/fast_mem_fn_example.cpp
==============================================================================
--- trunk/libs/function_types/example/fast_mem_fn_example.cpp	(original)
+++ trunk/libs/function_types/example/fast_mem_fn_example.cpp	2008-01-16 14:16:37 EST (Wed, 16 Jan 2008)
@@ -101,7 +101,11 @@
 
   setup_test(v);
   t.restart();
+#if !BOOST_WORKAROUND(BOOST_MSVC, < 1400)
   do_test(v, BOOST_EXAMPLE_FAST_MEM_FN(& test::id));
+#else // MSVC<8 does not like the implementation of the deduction macro:
+  do_test(v, ::example::fast_mem_fn< int (test::*)() const, & test::id >());
+#endif
   time1 = t.elapsed();
   std::cout << "fast_mem_fn                    | " << time1 << std::endl;