Boost logo

Boost Users :

Subject: [Boost-users] [boost::signals] Who deletes copied objects passed to slots?
From: Ed Sutton (ESutton_at_[hidden])
Date: 2009-11-17 10:24:48


I am using boost::signals2 to pass copied objects from my library's worker thread to a client GUI. While this works well, the GUI must delete the copied objects when done which seems wrong. Are there any techniques I could use so that the client would not be responsible for the object deletion?

Thanks in advance,

-Ed

Multi-threaded
Red Hat Enterprise 5.x
QT 4x


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