$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Peter Dimov (pdimov_at_[hidden])
Date: 2007-02-05 19:42:57
> 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.