|
Boost : |
Subject: Re: [boost] [functional] Interested in can_be_called<F, Sig> metafunction?
From: Jeffrey Lee Hellrung, Jr. (jeffrey.hellrung_at_[hidden])
Date: 2012-11-07 08:51:08
On Wed, Nov 7, 2012 at 5:23 AM, TONGARI <tongari95_at_[hidden]> wrote:
> 2012/11/7 Vicente J. Botet Escriba <vicente.botet_at_[hidden]>
>
[...]
> > But do you think member-function ptr fits in this context? e.g.
> >>
> >> has_call<void(X::*)(), void()>::type // mpl::true_
> >>
> >> I don't think this fill you initial can_be_called. Do you?
>
>
> Actually I'm not sure if it's feasible to support member-function ptr at
> all, what do others think?
>
Member function/data pointers can't be used with the usual function-call
syntax, so I wouldn't think they would satisfy this trait.
[...]
- Jeff
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk