Boost logo

Boost :

Subject: Re: [boost] [function_types] is there an equivalent for functors?
From: Larry Evans (cppljevans_at_[hidden])
Date: 2010-07-05 14:27:54

On 07/05/10 12:59, Jeffrey Lee Hellrung, Jr. wrote:
> On 7/5/2010 10:46 AM, Edd Dawson wrote:
> You can, however, get away with querying whether a function object can
> be called with a specific signature, though the machinery to do this is
> relatively complex. I think something working is found in Boost.Proto
> as "can_be_called".

If you can use the gcc variadic template compiler, then this:

which is a variadic can_be_called, might be useful.


Boost list run by bdawes at, gregod at, cpdaniel at, john at