Boost logo

Boost :

Subject: Re: [boost] [function_types] is there an equivalent for functors?
From: Edd Dawson (lists_at_[hidden])
Date: 2010-07-05 17:06:47

On 7/5/2010 9:39 PM, Sohail Somani wrote:
> On 10-07-05 4:14 PM, Edd Dawson wrote:
>> Yeah. I've got an optional check using QMetaObject::checkConnectArgs
>> that the signal/slot parameters do indeed match. I composed the slot
>> signature string using some std::type_info/demangling hackery for the
>> platforms I'm interested in.
> Is that necessary? I'm not sure.

Well, what's to stop you connecting a Qt signal with signature
"itemChanged(const QString &)" to something like a function<void (int)>
otherwise (and casting a QString* to an int* in the process)?

>> If you're interested, I could put up a repo? It's functional already,
>> just polishing now...
> For sure!


Zip file:

Hastily written introduction!:



Boost list run by bdawes at, gregod at, cpdaniel at, john at