From 16a07b25928ac891fb08ccecd70d38853c8e0277 Mon Sep 17 00:00:00 2001
From: Peter Dimov Should I replace every occurence of std::mem_fun[_ref]
with mem_fn in my existing code?
+Will mem_fn work with COM methods?
+Why isn't BOOST_MEM_FN_ENABLE_STDCALL defined automatically?
Interface
Synopsis
Common requirements
@@ -194,6 +196,21 @@ that need adaptable function objects in order to function might not like
mem_fn.
+Yes, if you #define BOOST_MEM_FN_ENABLE_STDCALL. +
+ ++Non-portable extensions, in general, should default to off to prevent vendor +lock-in. Had BOOST_MEM_FN_ENABLE_STDCALL been defined automatically, you could +have accidentally taken advantage of it without realizing that your code is, +perhaps, no longer portable. +
+