Boost logo

Boost :

Subject: Re: [boost] [function_types] is there an equivalent for functors?
From: Sohail Somani (sohail_at_[hidden])
Date: 2010-07-05 20:30:06


On 10-07-05 7:45 PM, Edd Dawson wrote:
> On 7/6/2010 12:21 AM, Sohail Somani wrote:
>> On 10-07-05 5:27 PM, Edd Dawson wrote:
>>> Did you manage to do a compatability check some other way?
>>
>> Why not compare the type_info objects?
>
> The Qt signal is specified as a string, so one can't get type_infos for
> its parameters.

Oh right, duh. Ignore me. So I guess this compatibility is caught at
signal connection time, right?

> I guess it might be possible to pass a pointer to the Qt signal method
> instead. Is that something you've tried?

Nope. You've got the right idea. With overloaded signals, I think it
will be a pain.

Sohail


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