Boost logo

Boost Users :

Subject: Re: [Boost-users] [FunctionTypes] Testing for a general callable type.
From: TONGARI (tongari95_at_[hidden])
Date: 2013-03-26 10:15:43


2013/3/26 Jason Roehm <jasonr_at_[hidden]>

>
> 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<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?

That's what I'd like to see. Maybe I should contact the maintainer of
Boost.TypeTraits.
...before that I should write the doc first, alas!

It would be nice to have it generally available at some point in the future.
>

 Agreed :)



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