Boost logo

Boost Users :

Subject: Re: [Boost-users] [Proto] Anything Callable
From: Eric Niebler (eric_at_[hidden])
Date: 2011-01-14 10:00:11


On 1/14/2011 9:03 PM, Hossein Haeri wrote:
> Hi Joel (or Eric),
>
>> Hmmm, IIRC proto has a can_be_called metafunction, dunno how far it
>> reaches in term of detection of possible corner cases.
>
> Can I see its documentations? (I mean something more than what is just in the Appendix.) And, more especially, where is defined?

It's an implementation detail, and is not general. There are no docs,
and you shouldn't use it.

>> BTW Eric, any objection to extract can_be_called to merge
>> in boost.traits ? I think it is really useful externally.
>
> Yes, I have to second that.

You must have missed my earlier msg. I filed a feature request for the
function_types library and attached an implementation of an
is_callable_with_args trait. That's about all I can do. The feature
request is 13 months old. Take the issue up with Tobias.

-- 
Eric Niebler
BoostPro Computing
http://www.boostpro.com

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net