
6 Feb
2007
6 Feb
'07
12:42 a.m.
Frank Mori Hess wrote:
[...]
Are there any possible work-arounds besides using a private constructor with a static factory function (a solution which doesn't extend well to derived classes),
The original code also doesn't extend to derived classes if your program takes advantage of the MT-ness of the signal. There is a window after the connection is made in which another thread can invoke the signal and call the slot, accessing the partially constructed object.