Hey Stefan,

2010/2/26 Ștefan Săftescu <[email protected]>:
> Hello,
> I just use boost::bind(), which works great, but I don't know if that is the
> correct way to do it.

You can do that too (with recent Wt versions), but note that with this
method you no longer have automated connection management: if the
receiver object is deleted, the signal is not automatically
disconnected.

Still, this is entirely fine if you know that the sender cannot
survive the receiver (e.g. because the sender is part of the receiver
or is the receiver), which is usually the case for internal (private)
slots.

Regards,
koen

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to