Boost logo

Boost :

Subject: Re: [boost] [functional] Interested in can_be_called<F, Sig> metafunction?
From: TONGARI (tongari95_at_[hidden])
Date: 2012-11-06 00:12:08


2012/11/6 Eric Niebler <eric_at_[hidden]>

>
>
> 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
> attached.
>
> https://svn.boost.org/trac/boost/ticket/3783
>
> Sadly, it was opened 3 years ago.
>

Surely I'm aware of this, but I don't think it'd work out-of-box, would it?


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