----- Original Message ----- From: "Paul Mensonides" <[EMAIL PROTECTED]>
> Actually, this works too: So does this: template<class> struct is_ptr_to_mem_fun { enum { value = false }; }; template<class R, class O> struct is_ptr_to_mem_fun<R O::*> { private: template<class U> static char check(const U O::*); template<class U> static char (& check(...))[2]; public: enum { value = sizeof(check<R>(0)) != 1 }; }; Paul Mensonides _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost