"David B. Held" <[EMAIL PROTECTED]> writes:
> Does it work with VC6?
Yes!
You need to help it a little by sticking some macro invocations in
your metafunctions:
// Return true if T is a pointer to function
template <class T>
struct is_pointer_to_function
: mpl::if_<
is_pointer<T>
, is_pointer_to_function_aux<T>
, mpl::bool_c<false>
>::type
{
BOOST_MPL_AUX_LAMBDA_SUPPORT(1,is_pointer_to_function,(T))
};
All the boost type traits already come with those macros predefined.
--
David Abrahams
[EMAIL PROTECTED] * http://www.boost-consulting.com
Boost support, enhancements, training, and commercial distribution
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost