On Sunday 10 November 2002 04:19 am, Paul Mensonides wrote:
> ----- Original Message -----
> From: "Aleksey Gurtovoy" <[EMAIL PROTECTED]>
>
> > With the cleaned up "type deduction success/error?/failure garbage" :)
>
> Here's a detector for operator().  It isn't perfect because you have to
> specify the type of the function, but it's better than nothing:

Unfortunately, that isn't enough to create is_callable :(. We need to be able 
to detect if _any_ operator() exists: we can't know the type and it has to 
work when operator() is overloaded or is a template. Once we know that 
operator() exists, implementing the rest of is_callable is doable.

        Doug
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to