Boost logo

Boost Users :

Subject: Re: [Boost-users] [FunctionTypes] Testing for a general callable type.
From: Jason Roehm (jasonr_at_[hidden])
Date: 2013-03-26 08:29:55


On 03/26/2013 01:44 AM, Eric Niebler wrote:
> On 13-03-22 06:15 AM, TONGARI wrote:
>
> Just pushed to github: https://github.com/jamboree/boost.has_call
>
> (previous `can_be_called`)
> This appears to owe a debt to:
> http://www.boost.org/doc/libs/1_53_0/doc/html/proto/appendices.html#boost_proto.appendices.implementation.function_arity
>
> ... so you should have an attribution somewhere. Apologies if I missed it.
Agreed. I had written my own implementation of this trait based on the
referenced appendix from Boost.Proto's documentation, but the one
provided here is more robust than mine. Is it possible that it will be
submitted for inclusion into Boost.TypeTraits? It would be nice to have
it generally available at some point in the future.

Jason


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