Boost logo

Boost :

Subject: Re: [boost] determine first arg of callable
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2013-05-15 10:25:08


On 15/05/13 15:38, Oliver Kowalke wrote:
> 013/5/15 Mathias Gaunard <mathias.gaunard_at_[hidden]>
>
>> that is not possible
>>>
>>
>> Then I suggest you change the design.
>>
>
> the class has to accept a callable object (function pointer or functor)

The Callable concept does not require that the function be monomorphic
nor does it provide a way to know what the type of the argument is.

So what you want is inconsistent with the Callable concept.


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