Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2002-05-13 07:09:34


From: "Douglas Gregor" <gregod_at_[hidden]>
> Boost.Function could _greatly_ benefit from an is_callable type trait.
> is_callable would have the following signature:
>
> template<typename Functor, typename R, typename T1, ..., typename TN>
> struct is_callable;
>
> If an instance of Functor is callable with arguments of types T1, T2, ...,
> TN, then this type trait will return "true".

lvalues or rvalues? :-)


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk