Boost logo

Boost :

Subject: Re: [boost] [functional] Interested in can_be_called<F, Sig> metafunction?
From: Eric Niebler (eric_at_[hidden])
Date: 2012-11-05 23:26:00

On 11/4/2012 5:15 AM, TONGARI wrote:
> Hi there,
> I've used this metafunction for some time, and it just fitted my need.
> Recently, I make up my mind to complete it, willing to put it in public.
> Synopsis
> --------------
> can_be_called<F, Sig>
> F
> Any callable type to test, even member-function ptr.
> Sig
> The desired calling signature, function-type only.

There is a feature request for this already in Trac, with source code

Sadly, it was opened 3 years ago.

Eric Niebler
BoostPro Computing

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