diff --git a/mem_fn.html b/mem_fn.html index 31a4e22..7c977dc 100644 --- a/mem_fn.html +++ b/mem_fn.html @@ -31,6 +31,8 @@ std::mem_fun[_ref] adaptors?

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.

+

Will mem_fn work with COM methods?

+ +

+Yes, if you #define BOOST_MEM_FN_ENABLE_STDCALL. +

+ +

Why isn't BOOST_MEM_FN_ENABLE_STDCALL defined automatically?

+ +

+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. +

+

Interface

Synopsis